FormAction issue

Hello, I’m using FormAction, it is working fine for one time correctly but when i run the form again immediately at final i’m unable to get the utterance action from the domain.Can anyone please help me.

Actual output:

User:Book an appointment Bot:Docor\n Hospital User:Doctor Bot:(select option)Dr.Mahi,Dr.chihaya User:Dr.Mahi Bot:select a date User:19-11-2019 Bot:Here are the details:Dr.Mahi,19-11-2019 \n Do you want to continue?1)Yes2)No User:Yes Bot:Appointment booked User:Book an appointment Bot:Docor\n Hospital User:Doctor Bot:(select option)Dr.Mahi,Dr.chihaya User:Dr.Mahi Bot:select a date User:19-11-2019 Bot:Here are the details:Dr.Mahi,19-11-2019 \n Sorry i did not get that

Expected output: User:Book an appointment Bot:Docor\n Hospital User:Doctor Bot:(select option)Dr.Mahi,Dr.chihaya User:Dr.Mahi Bot:select a date User:19-11-2019 Bot:Here are the details:Dr.Mahi,19-11-2019 \n Do you want to continue?1)Yes2)No User:Yes Bot:Appointment booked User:Book an appointment Bot:Docor\n Hospital User:Doctor Bot:(select option)Dr.Mahi,Dr.chihaya User:Dr.Mahi Bot:select a date User:19-11-2019 Bot:Here are the details:Dr.Mahi,19-11-2019 \n Do you want to continue?1)Yes2)No User:Yes Bot:Appointment booked

Stories.md:

book appointment

  • book_appointment
    • book_appointment_form
    • form{“name”: “book_appointment_form”}
    • form{“name”: “null”}
    • utter_booking_confirmation
  • affirm
    • action_appointment_confirmation

book appointment 1

  • book_appointment
    • book_appointment_form
    • form{“name”: “book_appointment_form”}
    • form{“name”: “null”}
    • utter_booking_confirmation
  • deny
    • action_appointment_confirmation

Can you tidy your format of “Actual output:” and “Expected output”? thank you.

outputexpected_output.txt (6.4 KB) actual_output.txt (6.3 KB)

can you post your form action class

maybe you can try use ‘action_restart’, like:

## book appointment
* book_appointment
    - book_appointment_form
    - form{“name”: “book_appointment_form”}
    - form{“name”: “null”}
    - utter_booking_confirmation
* affirm
    - action_appointment_confirmation
    - action_restart

Thank you, it’s solved

you are welcome

hi, when i kept action_restart one time it is working fine but again it is getting the same problem. When i used version rasa_core==0.12.3 and rasa_nlu==0.13.7 the form is working corectly,but when i upgraded the version to rasa_core==0.14.5 and rasa_nlu==0.15.1 it is getting the above problem

Do you retrain your model