I am trying to handle Unhappy-path using Forms so when a user does not provide Required_slot. Two messages should be printed:
-
Please provide valid info. (uttering from validation() using utter_validinfo)
– Then “ActionExecutionRejection” is raised as normal
-
Don’t you want to continue? (Yes/No)(utter_ask_to_continue)
-- as in this story: * get_specific_info - specific_form - form{"name": "specific_form"} * reset_all - utter_ask_to_continue * negation - utter_restart - action_restart
When Form asks for a Required_slot and the user says reset_all then a utter_template should print utter_validinfo and utter_ask_to_continue should be shown.
What is really happening is, It does not show utter_validinfo message before raising “ActionExecutionRejection” but it shows utter_ask_to_continue after “ActionExecutionRejection” is raised.
Why utter_validinfo is not printed while it is being executed before “ActionExecutionRejection”. I have checked it.
Please help. Thanks