Assume I have this code
If slot_value=='something'
Dispatcher.utter_message(text="something" )
Elif slot_value =='something'
Dispatcher.utter_message(template ="utter_somethig"
Elif slot_value =='something'
Dispatcher.utter_message(action="action_something")
As u see in the code I can do a text , utter, and action display of the bot…but i want to perform a formaction based on slot value like different formaction based on slot value…how can we control that in a custom action???
@jjuzl…yes I seen some how to call an action like this
If slot_value=='something'
Dispatcher.utter_message(action='action_something')
Elif slot_value=='something'
Dispatcher.utter_message(I want it to perform a formaction here)
The formaction contains the action,active_loop and then active_loop to null or to deactivate in the story file..so how can we fit that in here)