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 / Strange timings in run...
Power Automate
Unanswered

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

(0) ShareShare
ReportReport
Posted on by 358

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?

Categories:
I have the same question (0)
  • Verified answer
    LeeHarris Profile Picture
    1,026 on at

    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

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