Resume back to form if user wishes to continue

I have a form. while filling up the details of form the user can ask to stop and bot asks back confirmation whether he actually wants to stop. If he says that he wants to stop the form gets deactivated but if he says he wants to resume back the form should continue. I have added the story for this

add medication normal

  • add_medication
    • add_medication_form
    • form{“name”: “add_medication_form”}
    • form{“name”: null}

add medication stop

  • add_medication
    • add_medication_form
    • form{“name”: “add_medication_form”}
  • stop
    • utter_ask_continue
  • deny
    • action_deactivate_form
    • form{“name”: null}
    • utter_add_back_later

add medication stop continue

  • add_medication
    • add_medication_form
    • form{“name”: “add_medication_form”}
  • stop
    • utter_ask_continue
  • affirm
    • add_medication_form

The story ## add medication stop continue is not working. The form is not getting resumed back. Can somebody help.

Is utter_ask_continue uttered when user says stop in the middle of the form? If not then you need to add the correct slot mappings: Add the intents that should trigger ActionExecutionRejection by adding the intents in ‘not_intent’ parameter. Like so: self.from_entity(entity=‘your_entity_here’, not_intent=[“deny”, “stop”]), self.from_text(not_intent=[“deny”, “stop”])

Do you have stories where affirm triggers another action/form?

Also you need to provide us with more details. Check the logs to see what is being predicted when you affirm after stop intent.