BotEngine query matching system works differently depending on the situation. Below, we have presented some cases of system matching behavior based on example story.
Go to the next interaction
When the user is on the path between two similar interactions (both interactions have same
User Says), then the algorithm first tries to fit user input message to next step of story.
Back to the interaction
At every step of the conversation, user can go back to the paths he has already visited. The image below shows you how it works.
As you can see, the user can go back to the first, second and third path, but fifth is not available because he was never there. First, he should go to the fourth and then proceed to fifth.
Your session and current path in story can be reset when your lifespan will be exceeded (below 0). You can read more about it here.