SOLVED

Conversation timeout does not work in MS Teams?

%3CLINGO-SUB%20id%3D%22lingo-sub-1427658%22%20slang%3D%22en-US%22%3EConversation%20timeout%20does%20not%20work%20in%20MS%20Teams%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1427658%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20everyone!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20noticed%20that%20the%20conversation%20timeout%20does%20not%20work%20when%20chatting%20with%20the%20bot%20through%20Teams.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20set%20the%20conversation%20timeout%20to%205%20minutes%20and%20am%20simultaneously%20chatting%20with%20the%20bot%20through%20a%20webchat%20and%20in%20Teams.%20After%205%20minutes%20of%20inactivity%2C%20the%20webchat%20receives%20the%20message%20%22%3CSPAN%3EThis%20conversation%20has%20timed%20out%3C%2FSPAN%3E%22.%20I%20would%20expect%20the%20same%20to%20happen%20using%20the%20bot%20in%20Teams%2C%20but%20it%20does%20not.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20anyone%20else%20facing%20this%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3EJaren%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1430987%22%20slang%3D%22en-US%22%3ERe%3A%20Conversation%20timeout%20does%20not%20work%20in%20MS%20Teams%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1430987%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F683880%22%20target%3D%22_blank%22%3E%40JarenHamblin-Molina%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHi%2C%20After%20thinking%20about%20this%2C%20I%20believe%20this%20is%20the%20correct%20behavior.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20Teams%20channel%20is%20an%20authenticated%20experience%2C%20and%20by%20design%20conversation%20threads%20persist.%20For%20example%2C%20if%20you%20chat%20with%20a%20contact%20you%20can%20see%20the%20full%20history%20of%20conversations%20you%20had%20with%20that%20person.%20The%20same%20is%20true%20with%20the%20bot%20and%20the%20conversation%20persist%2C%20so%20the%20concept%20of%20conversation%20timeout%20does%20not%20make%20sense.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20hope%20that%20helps.%20Regards%2C%20Adam%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1431840%22%20slang%3D%22en-US%22%3ERe%3A%20Conversation%20timeout%20does%20not%20work%20in%20MS%20Teams%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1431840%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F152917%22%20target%3D%22_blank%22%3E%40Adam%20Walker%3C%2FA%3E%26nbsp%3B%2C%20this%20makes%20sense.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20situation%20I%20am%20running%20into%20is%20when%20a%20Teams%20conversation%20with%20the%20bot%20is%20left%20open%2C%20mid-scenario.%20For%20example%2C%20the%20bot%20displays%20a%20prompt%20with%20a%20couple%20of%20choices%2C%20the%20user%20leaves%20for%20an%20extended%20period%20of%20time%2C%20and%20eventually%20comes%20back%20to%20the%20chat%20asking%20the%20bot%20something%20completely%20unrelated.%20The%20bot%20responds%20along%20the%20lines%20of%20%22I%20didn't%20understand.%20Please%20choose%20an%20option%20from%20the%20list%22%20because%20it%20is%20still%20waiting%20for%20a%20respond%20the%20to%20original%20prompt.%20In%20this%20situation%2C%20it%20would%20be%20nice%20to%20have%20the%20conversation%20timeout%20feature.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20you%20suggest%20any%20approach%20to%20workaround%20this%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3EJaren%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hi everyone!

 

I have noticed that the conversation timeout does not work when chatting with the bot through Teams.

 

I have set the conversation timeout to 5 minutes and am simultaneously chatting with the bot through a webchat and in Teams. After 5 minutes of inactivity, the webchat receives the message "This conversation has timed out". I would expect the same to happen using the bot in Teams, but it does not.

 

Is anyone else facing this?

 

Thanks,

Jaren

3 Replies
Best Response confirmed by JarenHamblin-Molina (New Contributor)
Solution

@JarenHamblin-Molina 

 

Hi, After thinking about this, I believe this is the correct behavior. 

 

The Teams channel is an authenticated experience, and by design conversation threads persist. For example, if you chat with a contact you can see the full history of conversations you had with that person. The same is true with the bot and the conversation persist, so the concept of conversation timeout does not make sense. 

 

I hope that helps. Regards, Adam

Thanks @Adam Walker , this makes sense.

 

The situation I am running into is when a Teams conversation with the bot is left open, mid-scenario. For example, the bot displays a prompt with a couple of choices, the user leaves for an extended period of time, and eventually comes back to the chat asking the bot something completely unrelated. The bot responds along the lines of "I didn't understand. Please choose an option from the list" because it is still waiting for a respond the to original prompt. In this situation, it would be nice to have the conversation timeout feature. 

 

Can you suggest any approach to workaround this?

 

Thanks,

Jaren

 

@JarenHamblin-Molina 

 

Consider using interrupting scenarios. This allows end user to change the context of the current conversation. https://docs.microsoft.com/en-us/HealthBot/bot_docs/interruptions

 

Alternatively, you can advise the user there is a "Cancel" command. Cancel will break the current scenario and return the root of the bot. https://docs.microsoft.com/en-us/HealthBot/bot_docs/cancelling