microsoft / BotFramework-Composer

Dialog creation and management for Microsoft Bot Framework Applications
https://docs.microsoft.com/en-us/composer/
MIT License
868 stars 372 forks source link

Repetition of questions when the "Allow interruption" configuration is true #9608

Closed SanKumar0632 closed 1 year ago

SanKumar0632 commented 1 year ago

Describe the bug

When I create an intent-recognized trigger and want to fire it when the specific intent is detected from the user's response, I have to set the "Allow Interruption" configuration of the questions. This should allow the bot to follow the flow created inside the intent-recognized trigger and after that follow the earlier flow that was being followed before intent recognition(without the question being repeated again). But what happens is the question whose answer triggered the intent, gets repeated indefinitely irrespective of the intent is triggered or not.

Version

2.1.2

Browser

OS

To Reproduce

Steps to reproduce the behavior:

  1. Go to the 'Greeting' trigger, create a subjective question
  2. Select the question & go to the "Others" tab
  3. Under "Prompt configuration" set the "Allow Interruption" as true
  4. Create a new "intent recognized" trigger and add "trigger phrases"
  5. Now run the bot and enter the answer for the question asked by the bot, the question will repeat indefinitely.

Expected behavior

If the intent is triggered, the bot will follow the flow created inside the trigger and the previous flow will be continued after completing the flow inside the trigger. Otherwise, the flow will continue normally without the question being repeated.

### Tasks
anishprasad01 commented 1 year ago

Hi @SanKumar0632,

Is this a C# or Node bot? Does this issue occur generally, or only in a specific environment?

SanKumar0632 commented 1 year ago

Hi @SanKumar0632,

Is this a C# or Node bot? Does this issue occur generally, or only in a specific environment?

It is a Node bot, this occurs generally.

anishprasad01 commented 1 year ago

I am unable to reproduce this issue. I have configured the bot as specified in your original post. If I do not enter the intent as an answer, the question completes normally. If I enter the intent as the answer to the question, the trigger runs before returning back to original flow. At this point the question is asked again (as expected, since it went unanswered before). Answering the question properly the second time ends the flow as expected.

Do you have any further context that might help reproduce the issue?

dmvtech commented 1 year ago

Closing due to inactivity.