Hello,
I'm having an issue with my Do Until loop only running once, maybe I'm just not understanding how the loop works exactly.
I set the variable to "Pending", I want it to loop and send reminders till it gets approved. Once it is approved it will set the variable to "Complete", which meets the condition and stops.
What happens is when it hits the 2 day mark (if they haven't approved it yet), it sends them a reminder email and the loop stops. Still waiting on Approval to go through.
My Flow:
Thanks,
Johnathon
Solved! Go to Solution.
In the loop action, click on Change limits. Take a look at the timeout. By default the loop will stop after 60 loops or one hour - whichever comes first. Is your loop timing out? You might try setting the timeout to P30D for 30 days.
In the loop action, click on Change limits. Take a look at the timeout. By default the loop will stop after 60 loops or one hour - whichever comes first. Is your loop timing out? You might try setting the timeout to P30D for 30 days.
Oh, so the "PT1H" will automatically do a loop for timeout? It's not based on the delay loop?
I'm assuming that's the issue then, thanks!
Correct - your loop is timing out. If the top of the loop is hit after 1 hour, it will time out.
Configure per my screen shot below to extend the timeout to 30 days (max time a Flow can run):
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Read the latest about new experiences and capabilities in the Power Automate product blog.
User | Count |
---|---|
26 | |
25 | |
25 | |
20 | |
17 |
User | Count |
---|---|
53 | |
45 | |
33 | |
33 | |
30 |