Bot is not returning back to form filling after executing a custom action. Is there some way i can make the bot to return to active loop .
@athulvingt Its for rasa 2.x or rasa 3.x, can you please update rasa version in main topic as well.
its for rasa 2, but if you know it for rasa 3, please mention that too
use rasa interactive, after you executing a custom action, check the slots value, if slot names “active_loop” and “required_slots” exists, return a “FollowupAction” event in your custom action
def run():
...
evt = FollowupAction("your form name")
return [evt]
I remember there is a function called next_required_slots, but I don’t know which rasa version.You can search the required_slots in document to find the answer