cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

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
Highlighted
Super User
Super User

Re: Do Until loop stops at 60 iterations

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

View solution in original post

4 REPLIES 4
Highlighted
Super User
Super User

Re: Do Until loop stops at 60 iterations

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

View solution in original post

Highlighted
Frequent Visitor

Re: Do Until loop stops at 60 iterations

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.

Highlighted
Super User
Super User

Re: Do Until loop stops at 60 iterations

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
Highlighted
Microsoft
Microsoft

Re: Do Until loop stops at 60 iterations

Thanks for sharing this.

Helpful resources

Announcements
firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Users online (7,872)