i have an entity node(PhoneNo) as phone number, which asks the user provide your phone number, and if he provides, this entity node is connected to the script node in which am validating the number and setting the counter to 1. if the provided number is wrong then am connected this script node to again to Entity Node(PhoneNo). In this case the bot should ask again for the phone number. but this is not happening. Can someone tell me if am missing anything?
@csaitharun please do not directly link back to the entity directly. If the entity is already set system will not prompt again.
You need to introduce a script node in between which will reset the entity
context.entities.<EntityName> = undefined;
You connect the entity back from this script node.
1 Like
Thanks mate,it worked