Is there a way to loop back to a previous question when an invalid answer is detected?
For example, I have a topic that asks for an order # and proceeds when an order # is found.
How do I keep looping to the question X amount of times until the user provides a matching order # or exceeds the number of attempts?
Solved! Go to Solution.
Hi @MikkoM, If you already have the data in your stream it is possible. If in your topic the answer is always going to be #, you can put in the condition, if it differs from # it goes back to the input request.
Did I answer your question?😉 Like my answer? Like it! 👍
|
Hi @MikkoM
Yes, there is, you need to treat the data if it is not found.
I created a situation where the data is not found for you to understand the logic that must be created.
For this I used the Power Automate to search the data informed by the user.
As for your search not finding the data you need to define a return parameter and create a validation condition in your topic, so the user will return to the flow of informing the data until it is found.
Did I answer your question?😉 Like my answer? Like it! 👍
|
Right, no way to do this without Power Automate?
Hi @MikkoM, If you already have the data in your stream it is possible. If in your topic the answer is always going to be #, you can put in the condition, if it differs from # it goes back to the input request.
Did I answer your question?😉 Like my answer? Like it! 👍
|
Keep up to date with current events and community announcements in the Power Virtual Agents community.
A great place where you can stay up to date with community calls and interact with the speakers.