cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Sathya2
Helper III
Helper III

set count and timeout in Do Until action

Hi

In my flow, to send a remainder I am having an Do until action.

Do until Properties:

Count : 5000

TimeOut : PT720H

Delay : 18 seconds

  • As per my calculation, if I set a delay to 18 seconds, Do until action will run 4800 times per day. By day 2, the Do until action will again start running a loop from count = 1 right? 
  • But, In my scenario, the loop running till 5000 counts(exactly loop running 1day 2hours), and after 5000 counts, it is coming out of the loop.

Can anyone help me on this. How to avoid the loop to terminate on its own?

1 ACCEPTED SOLUTION

Accepted Solutions
v-xiaochen-msft
Community Support
Community Support

Hi @Sathya2 ,

 

From my tests it seems to work until it times out.

 

Best Regards,

Wearsky

View solution in original post

4 REPLIES 4
v-xiaochen-msft
Community Support
Community Support

Hi @Sathya2 ,

 

The count property determines the number of times to loop.

Currently, there is a limitation in count i.e. 5000 i.e the do until loop allows a maximum of 5000 counts.

So if you want a flow to keep executing 'do until' for 30 days, you could add 'Apply to each' action outside 'do until'.

 

Best Regards,

Wearsky

Sathya2
Helper III
Helper III

Hi @v-xiaochen-msft 

Thanks for the reply,

What will happen if I keep a count as blank(without filling any value)?

 

v-xiaochen-msft
Community Support
Community Support

Hi @Sathya2 ,

 

From my tests it seems to work until it times out.

 

Best Regards,

Wearsky

Sathya2
Helper III
Helper III

Thank you @v-xiaochen-msft 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (1,997)