web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Do Until running Once ...
Power Automate
Unanswered

Do Until running Once - Approval flow

(0) ShareShare
ReportReport
Posted on by 6

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:

 

Approval Flow - Do Until.PNG

 

Thanks,

Johnathon

Categories:
I have the same question (0)
  • Verified answer
    ScottShearer Profile Picture
    25,270 Most Valuable Professional on at

    @Johhny 

    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.

     

  • Johhny Profile Picture
    6 on at

    @ScottShearer 

     

    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!

  • ScottShearer Profile Picture
    25,270 Most Valuable Professional on at

    @Johhny 

    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):

    Limit.jpg

     

     

  • Johhny Profile Picture
    6 on at

    @ScottShearer 

     

    Great, thanks for the help!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard