In the first screen we select the food items, after submitting that will routed to the manager in the second screen he will review the availability and approve, if it is available and approved it should go to the next screen. If rejected it should go to the first screen which selecting the food items
How can we achieve this requirement please help me out
Set a flag based on the manager’s approval. Run a decision shape on that flag. If the approved flag is true then set the output connector to the next screen. If the approved flag is false then set the output connector to the first screen.
You can achieve this by using a decision shape after the second screen. After the manager submits his screen set the manager’s response to one property. In decision shape, we use that property value. If the Manager approves the screen will route to the next screen, if it is rejected it routes to the first screen.
For more information, please find attached document.
If you are having 4 steps in a stage and the approval process is in the 4th step and you want to go back to the 3rd screen you can use OOTB activity in run script, but if you want to move to 1st or 2nd step then you should use Ticket for your requirement.