Here, I expect that the chatbot runs action_pay_bill
when the code_form
is submitted. However, it runs action_listen
instead, even though I have set wait_for_user_input: False
in my relevant rule.
Here is my story:
- story: credit settlement with auth
steps:
- intent: greet
- action: utter_greet
- intent: settle_credit
- slot_was_set:
- name: null
- action: auth_form
- active_loop: auth_form
- intent: inform_name
- slot_was_set:
- name
- action: auth_form
- active_loop: null
- action: code_form
- active_loop: code_form
- slot_was_set:
- code
- requested_slot: null
- action: code_form
- active_loop: null
- action: utter_auth_done
- action: action_pay_bill
And here are my rules:
- rule: activate authentication form
steps:
- intent: check_balance
- action: auth_form
- active_loop: auth_form
- rule: submit auth form
condition:
- active_loop: auth_form
steps:
- action: auth_form
- active_loop: null
- action: code_form
- active_loop: code_form
wait_for_user_input: False
- rule: submit code form
condition:
- active_loop: code_form
- slot_was_set:
- code
- requested_slot: null
steps:
- action: code_form
- active_loop: null
- action: utter_auth_done
wait_for_user_input: False
Does anyone have a guess about what the problem is with my story and the rules that the chatbot ignores the actions that come after the form submission?
Cheers, Hamid