In a Flow with multiple Slots, when the first Slot value is not captured, how can I move to the second Slot?
Like many elements available in an X-Designer Intent Flow, a Slot Resolver element can use both Success and Failure exit paths.
When the Slot value is captured successfully, the Flow continues with Success path.
When the Slot value is not captured, the Flow continues with the Failure path. This enables the Flow to check whether the end user wants to proceed with a different Slot value (or activity) and then continue to the first Slot, as shown in the below mentioned example.
Note
A Flow Admin can also assign a default Fallback action that will occur when the Failure path is invoked from the Configuration panel of the relevant VA.
Example
User : What is my card balance BOT : I need to authenticate you. BOT : What is your DOB? User : 10th October 1999 BOT : Sorry I could not validate? BOT : Can I send an OTP to your mobile to validate? User : Yes BOT : Sent the SMS. BOT : Please enter OTP User : 9137 BOT : You are authenticated.
In this case, as the first Slot (DOB) is not captured the Flow continues with the Failure path, moving to the second Slot (OTP).
