Start over the flow, clearing the all entities

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.

@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

1 Like

Please refer to the below topic for more details:

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

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