environment:
rasa-sdk = 2.8.5
rasa == 2.8.17
question:
my rule is
- rule: sale form + affirm
condition:
- active_loop: sale_form
steps:
- action: sale_form
- active_loop: null
- action: utter_sale_values
- intent: affirm
- action: utter_after_submit_sale_form
- action: action_submit_instance_form
- action: utter_sale_values
It means to reply all the sales form information to the user and ask whether to submit the form.
- intent: affirm
Indicates confirmation of submission form
- action: utter_after_submit_sale_form
Reply to the user “wait patiently”
- action: action_submit_instance_form
Reply to the user “sales form submitted successfully”
What is returned now is:
[
{
"recipient_id": "test",
"text": "wait patiently"
},{
"recipient_id": "test",
"text": "sales form submitted successfully"
}
]
The problem encountered now is that after confirming the submission of the form, because the action of submitting the form takes a long time, the user cannot get a reply. After the action of submitting the form is completed, these two replies are returned to the user together.
I hope that after confirming the submission of the form, the robot can reply to the user “wait patiently”, and then reply to the user “sales form submitted successfully” after the form submission action is completed。
How can I reply “wait patiently” first, and then reply to the user after the form action is completed.?
thank you!