web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Does looping won't wor...
Power Automate
Unanswered

Does looping won't work If i got too many steps?

(0) ShareShare
ReportReport
Posted on by 95

Hi Guys, 

 

I got a workflow that required me to loop through 63 steps. But it doesn't loop after runs all the 63 steps from the start. But if I were to minimize the steps to just a few, it can loop without any issues. I doing a loop function by creating a counter var. and increase the variable after each of the task. 

 

foxngn84_2-1664178374275.png

 

foxngn84_3-1664178387363.png

 

 

Another thing as well got issue is when I wants to click link from excel, I will instruct a command: "{Apps}oo{Return}" , but when I run this flow it won't send any response if I got too many steps in my flow. 

 

 

 

 

 

 

 

I have the same question (0)
  • ThomasFonn Profile Picture
    273 on at

    Hi @foxngn84 

    As far as I know, there are no limitations on actions within a loop, but if you want to reduce the number of actions inside a loop, you could try to move some of them into a subflow, and run the subflow from within the loop.

     

    Also, I don't see you actually using the "counter" variable for anything (other than incrementing it), and the LoopIndex is doing the same work as you want the counter to do by default.
    You are looping through from 1 to "FirstFreeRow", but maybe FirstFreeRow:s value is lower than you expect?
    That would mean that you won't loop enough times

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    You don't increase the counter variable.  There are 2 main loop types in PAD.  Loop and For each.  For each does every item of a list or every row of a datatable.

     

    A loop's number of iterations is defined in the Loop parameters; example:

     

    Loop 0 to 99 increment of 1 will loop 100 times starting with %LoopIndex%=0 and ending with %LoopIndex%=1.

     

    Hope this helps.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 238 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 225

#3
Haque Profile Picture

Haque 181

Last 30 days Overall leaderboard