Skip to main content
Question

Issue with multiple buttons in interactive forms.

  • 23 July 2024
  • 2 replies
  • 87 views

 

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.

 

 

2 replies

Userlevel 1
Badge +4

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: 

 

Userlevel 1
Badge +4

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:

Reply