I have one form (‘address_form’) with its corresponding submit rule defined as follows:
- rule: Submit form (address) condition: # Condition that form is active. - active_loop: address_form steps: # Form is deactivated - action: address_form - active_loop: null - slot_was_set: - requested_slot: null # The actions we want to run when the form is submitted. - action: action_utter_address_was_saved wait_for_user_input: false
However, when I run the tests, the model predicts the action ‘action_listen’ after the submit event:
- action: address_form - active_loop: address_form - slot_was_set: - requested_slot: address - slot_was_set: - address: Av Argentina 758 Comas - slot_was_set: - requested_slot: null - active_loop: null - action: action_utter_address_was_saved # predicted: action_listen - slot_was_set: - full_name_already_set: true - slot_was_set: - address_already_set: true
I copied the submit form rule format straight from the documentation but it doesn’t seem to be working.
I have another form called ‘personal_details_form’, with its respective rule after the submit event, and in that case the rule does seem to work, which makes things even weirder.