Hello all,
I have this flow below, the left side of the condition works well but the right side results in infinite loop. The issue i am trying to solve is when an approval request is rejected it should update the sharepoint list status column to declined so that the requester makes corrections and resubmit via a form and then the flow runs again.
Appreciate your help. Thanks
Hey @LawrenceOrewa
You should limit that how many times to try for Approval else It will go on infinite loop.
------------------------------------------------------------------------------------------------------------------------------
If my suggestion helps you, please gives it a Thumbs up 👍 and Marks as a Solution ✔️. Which Motivates to solve more problems.
Thanks,
Sayan Patra | Consultant RPA Developer
Hi @Sayan,
Thank your very much. Yes i get your point. However, i looking for a situation whereby when the approval reject the request the flow should restart the approval again when the requester resubmit perhaps after making corrections.
Hey @LawrenceOrewa
I can see that you are using an Control Action that is "Do Until". This Action executes a block of Action until the Condition is satisfied. So, in case of your flow the condition is not satisfied that's why it goes to infinite loop.
Please remove that Action and use only "Condition" action then the flow will not go to infinite loop.
------------------------------------------------------------------------------------------------------------------------------
if my solution helps you, please gives a Thumbs up 👍 and Marks as a Solution ✔️. It motivates to solve more problems.
Thanks,
Sayan Patra
RPA Developer
Please add pictures, from a flow that run, where it ran forever. Please include specifically the Apply to Each, which you say is an infinite loop.
I see nothing in there that would do that we code it is
If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others
Cheers
Thank You
Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
https://gernaeysoftware.com
LinkedIn: https://www.linkedin.com/in/michaelgernaey