Hi,
I have a problem understanding the following example from here:
rules:
- rule: Example of an unhappy path
condition:
# Condition that form is active.
- active_loop: restaurant_form
steps:
# This unhappy path handles the case of an intent `chitchat`.
- intent: chitchat
- action: utter_chitchat
# Return to form after handling the `chitchat` intent
- action: restaurant_form
- active_loop: restaurant_form
I dont understand the last two actions, namely
# Return to form after handling the `chitchat` intent
- action: restaurant_form
- active_loop: restaurant_form
Why do i have to set the active loop again? From the condition i am able to know that the loop is already active.
Thanks in advance.