Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Strange timings in running MS Flow Do...Until step

(0) ShareShare
ReportReport
Posted on by 352

We have built an approval flow with a parallel branch that executes a Do..Until step until the item is approved (which sets a variable)...

 

It's built so that every 7 days an email reminder is sent.

 

The reminder branch logic is as follows:

  1. Delay of 1 hour.
  2. Every 24 hours the DayCounter is incremented by 1
  3. When the DayCounter variable >24, send a Reminder email

 

It has been running for 6 days as you can see in the below image.

MS Flow - Do..Until strange running times.PNG

But why does the Do...Until only go up to 60?

 

here are larger pictures of each part:

MS Flow - Do..Until strange running times 1.PNGMS Flow - Do..Until strange running times 2.PNGMS Flow - Do..Until strange running times 3.PNG

In the pictures are three circled areas:

  1. showing the execution date/time - 8th January - which is 6 days ago
  2. showing the time expended on the Legal approval condition branch
  3. showing the number of iterations the Do...Until step has run ... but which only goes up to 60, even though it should be at least 6 days * 24 hours = 144 iterations

so what is happening here?

  • Verified answer
    LeeHarris Profile Picture
    1,026 on at
    Re: Strange timings in running MS Flow Do...Until step

    Hi @livingstonep 

    By default, a Do Until action will only execute a maximum of 60 times. This can be configured within the action to allow for more executions. Increase the Count property on your Do Until action to at least 144 to cover the number of loops that you require (this can be set to a maximum of 5000). I would have thought that you would also need to adjust the Timeout property but you may have already done this if your Flow is running for 6 days.

     

    image.png

     

    Hope that helps.

     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,618 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,962 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow