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 blog
Power 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 blog
Power Automate Video Tutorials

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 blog
Power Automate Video Tutorials
JulienOlivier
Community Support
Community Support

Thanks for sharing this.

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.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (3,201)