I have given up on rules and am going back to stories. Now I am trying to get slot_was_set to work as I think it should work based upon the documentation.
version: "2.0"
stories:
- story: Happy path segment 1
steps:
- intent: greet
- action: action_fetch_profile
- action: main_form
- active_loop: main_form
- active_loop: null
- action: utter_goodbye_patient_name
- action: action_restart
- story: Bail out because paitent is not home
steps:
- intent: greet
- action: action_fetch_profile
- action: main_form
- active_loop: main_form
- intent: patient_not_available
- action: action_deactivate_loop
- active_loop: null
- action: utter_will_call_back_later
- action: action_restart
- story: transfer to human
steps:
- intent: greet
- action: action_fetch_profile
- action: main_form
- active_loop: main_form
- intent: speak_to_human
- action: utter_speak_to_human
- action: action_deactivate_loop
- active_loop: null
- action: action_restart
- story: won't speak to bot
steps:
- intent: greet
- action: action_fetch_profile
- action: main_form
- active_loop: main_form
- slot_was_set:
- confirm_speak_to_bot: "False"
- action: utter_speak_to_human
- action: action_deactivate_loop
- active_loop: null
- action: action_restart
“confirm_speak_to_bot” is set by a form. Any ideas why the bottom story doesn’t fire?