botframework-sdk: Can't use prompts in proactive dialog
My use case is this:
- User A initiates conversation with the bot
- According to the conversation result, the bot triggers a dialog with user B via
bot.beginDialog
(proactive). - The bot presents user B with a confirmation prompt.
- User B answers the prompt (“yes”).
- Bot returns “I didn’t understand” error.
What’s happening is that the answer to the prompt is received in a different dialog than the one triggered in step 2 (the root dialog from the previous conversation). Which is confusing, since the documentation for bot.beginDialog
says:
Proactively starts a new dialog with the user. Any current conversation between the bot and user will be replaced with a new dialog stack.
But it seems that the dialog stack isn’t really replaced, as the incoming message isn’t directed to the input dialog.
I’m using UniversalBot
with ChatConnector
, Node.js SDK version 3.1.1. I’ve reproduced it on several channels (Slack, Skype, Facebook).
Am I missing something here?
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 5
- Comments: 16 (6 by maintainers)
We’ve had a lot of bugs on our plate. Sorry it took so long to get to this one but glad it’s working now 😃
@Stevenic Fantastic. It’s working for me on both Skype and Slack. Thank you so much for doing this. I have to say I did try to find a fix… to no success 😃.