Reputation: 11
I want to know how to escape while using slot for example, there is a slot need entities @time, @date, @place so user said "next sunday, in the market" In this moment, not include @time. so slot asked "I need time information too" but user doesn't answer about time, just input "main menu" because he want to go main node (welcome message) In conclusion, I wanna make when user in slot, but input other intent, just quit slot(Ignore all data from slot) and go intent node.
How can I do that? It's seem to be impossible..
Upvotes: 1
Views: 471
Reputation: 4737
As @data_henrik suggests the way to handle this is through a digression. When you hit the "I don't know what time" or : "go back to the main menu" digression, you can perform operations to break out of the slot operation.
There are a number of ways to break of slots:
<? clearDialogStack() ?>
which will go back to the beginning.Upvotes: 2