cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
OkayGoogle
Helper II
Helper II

Do Until loop stops at 60 iterations

I have a Power App where I pass a large number to my flow (up to 2,000) :

powerAppnumLabels.png

 That number is passed as numLabels, and here it is in the flow:

powerflownumLabels.png

 I have a Do Until loop where some HTML is supposed to be appended to some other HTML as many times as there are numLabels:

powerflowDoUntilEdit.png

 

It takes 16 seconds to complete just this block of flow. However, the loop only completes 60 times and then stops:

powerflowDoUntilLoop.png

 

It doesn't matter which number I pass to the flow, as long as it is above 60, the Do Until loop will only iterate up to 60 times.

 

What am I missing here? Is it unable to append strings over a certain size?

 

1 ACCEPTED SOLUTION

Accepted Solutions
abm
Super User
Super User

Hi @OkayGoogle 

 

The default limit is 60. Click Change Limit and increase the limit.

 

image.png

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

View solution in original post

4 REPLIES 4
abm
Super User
Super User

Hi @OkayGoogle 

 

The default limit is 60. Click Change Limit and increase the limit.

 

image.png

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

View solution in original post

Thanks! Coming from a coding background, it's very unusual that there is a hidden limit to a loop where I specify the limit myself. That was confusing.

Thanks for accepting the solution. Remember its an online service platform and you don't want to endup having an infinite loop. Think its a nice feature to have this. 

Thanks 



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials
JulienOlivier
Community Support
Community Support

Thanks for sharing this.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (1,855)