Skip to main content
Answer

Issue with multiple buttons in interactive forms.

  • July 23, 2024
  • 2 replies
  • 146 views

Forum|alt.badge.img
  • Ground Control | Tier 1

 

When I click on the first button of the above form, the ‘message box’ is displayed perfectly.

But when I click on the second button, nothing happens. I need to exit the bot when I click on the second button.

Please help to resolve the issue.

 

 

Best answer by Stefano 5934

Apologies. I just re-evaluated the code and realized that the bot would never reach the Task Bot: Stop action in the second Trigger loop: Handle.

Remove the second Trigger loop: Break, so the code looks like this:

2 replies

Forum|alt.badge.img+7
  • Navigator | Tier 3
  • August 31, 2024

The issue is that you have 2 separate Trigger loop actions.

To fix it, place both Trigger loop: Handle inside the same Trigger loop.

It should look like this: 

 


Forum|alt.badge.img+7
  • Navigator | Tier 3
  • Answer
  • September 1, 2024

Apologies. I just re-evaluated the code and realized that the bot would never reach the Task Bot: Stop action in the second Trigger loop: Handle.

Remove the second Trigger loop: Break, so the code looks like this: