Start over the flow, clearing the all entities

chatbots

(Chandrahasan Vantaku) #1

Hi,

I would like clear all the entities that the bot collected and start over the process at some point in the bot flow. How is this configurable in the bot builder?

Thank you.


(Subrahmanyam Donepudi) #2

@chandrahasan1 At the point in the dialog flow where you would like to delete the entities, add a script node and have delete context.entities in it. From this script node, you could have the transition condition to any of the nodes in your dialog


(Subrahmanyam Donepudi) #3

Please refer to the below topic for more details:


(Emer Gilmartin) #4

Hi
I sent a question on Start over the flow, clearing the all entities/ Jump to previous entity on some validation not working

I realize now that my prob is that I’ve set the previous entity to collect from all used and unused dialog history so it’s actually resetting entities to previous values rather than retaining in error.

Can you disregard my question?
Thanks


(Subrahmanyam Donepudi) #5

Great. Do let us know if you come across any other issues.