When you navigate back to the entity node after the confirmation node, the entity node will still be persisting the previously entered value.
As the value is already present, the bot will capture the entity value internally and proceed to the next node instead of prompting the user to enter the value.
Hence, you are observing this behaviour of the bot not returning to the List of options entity node even though user clicks on “Yes”.
To get the scenario working, we suggest you to follow the below steps:
- In the confirmation node, for the condition if “Yes”, create a “script node” and make the transition to the script node for the condition “Yes”.
- In the script node, add a script to empty the entity node value.
context.entities.EntityNodeName = “”;
- Now, from the script node, make the transition to the entity node.
This way, when user says “yes”, the entity node value will be deleted so that the entity node is empty to prompt the user for new value.
Please implement and let us know if you face any further issues.