Forum Discussion
Conversation timeout does not work in MS Teams?
- Jun 01, 2020
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
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
- Adam WalkerJun 02, 2020Brass Contributor
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