Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

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

  • Johhny Profile Picture
    6 on at
    Re: Do Until running Once - Approval flow

    @ScottShearer 

     

    Great, thanks for the help!

  • ScottShearer Profile Picture
    25,230 Most Valuable Professional on at
    Re: Do Until running Once - Approval flow

    @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
    Re: Do Until running Once - Approval flow

    @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!

  • Verified answer
    ScottShearer Profile Picture
    25,230 Most Valuable Professional on at
    Re: Do Until running Once - Approval flow

    @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.

     

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1