I am desigining a flow where I need to assign a task to approver. Then If approver Rejects the task, it should go to submitter. Now If Submitter approves the task, it should goes back to approver. Loop should quit if approver approves the task or submitter rejects the task.
I have put together a flow using do while but it does not loops back at all. It just ends after 1st cycle is executed. I have checked lot of threads on this topic but loop just doe snot work.
Flow is as below...
Do While - variable loopback = 'loopback'
Start an approval
Condition - ResponseStatus = Reject
If Yes - Start an approval
Condition - ResponseStatus = Reject
If Yes --> Set variable loopback = 'noloopback'
If No --> Set variable loopback = 'loopback'