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
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,474)