Rule not executing on rasa>=2.2

Hi. I have a rule to ask the user for confirmation before submitting a form. It works as expected in versions 2.0 and 2.1, but in versions 2.2 and 2.3 it doesn’t executes the rule.

version: "2.0"
rules:
  - rule: Submit service_appointment form
    condition:
      - active_loop: service_appointment_form
    steps:
      - action: service_appointment_form
      - active_loop: null
      - action: utter_ask_confirm_service_appointment_submit
      - intent: affirm
      - action: submit_service_appointment_form
  - rule: Submit cancel appointment form
    condition:
      - active_loop: cancel_appointment_form
    steps:
      - action: cancel_appointment_form
      - active_loop: null
      - action: utter_ask_confirm_cancel_appointment_submit
      - intent: affirm
      - action: submit_cancel_appointment_form

After the service_appointment_form is done, it just executes an action_listen. The rule for Submit cancel_appointment form works fine.

3 Likes

I have rasa 2.2.5 and that has also been happening in Rasa-X and got me scratching my head. I am going to try creating more stories with actions in the right order to solve this.