I want to execute different actions depending on the values of the slots. The type of these slot are all set to categorical. Here is my rule:
- rule: Activate buy_clothes_form
steps:
- intent: buy_clothes
- action: utter_show_message_buy_clothes
- action: buy_clothes_form
- slot_was_set:
- size:
- color:
- type:
- active_loop: buy_clothes_form
- rule: submit buy_clothes_form 0
condition:
- active_loop: buy_clothes_form
steps:
- action: buy_clothes_form
- active_loop: null
- slot_was_set:
- size: S
- color: red
- type: T-short
- action: action_submit_buy_clothes_red
But, after executing action_submit_buy_clothes_red action, rasa predicts default_fallback as the next action rather than action_listen. Is there anything wrong? Or, rule is not suitable for the branch task.