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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow has been running ...
Power Automate
Answered

Flow has been running an "unusually high number of actions"

(0) ShareShare
ReportReport
Posted on by 3
Good morning!
 
I recently started using Power Automate and was designing my first flows with YouTube, so I am very new to it and would appreciate if someone more experienced than me had any input for my problem.
 
For the context, I have an Excel spreadsheet with four tabs. I want the entries of these tabs to be created, updated, or deleted in four different MS Lists, as they are modified in the Excel spreadsheet. So, I created four PowerAutomate flows (that are essentially the same, but connecting only one Excel tab with one MS List, respectively). Three of these flows work perfectly. However, the last one has been troubling me and I cannot figure out what the problem is. It is running but usually takes about 20 hours to complete any run, and sometimes doesn't run the "create" action. Furthermore, I received a warning by email that my "flow may be performing slow because it's running more actions than expected. Your flow will be turned off in 7 days if it does not use fewer actions."
 
The respective Excel table is in fact somewhat large, it has 150 rows and 18 rows, but could that really be the problem? I would imagine use cases for much larger sets of data to have been considered and tested, right?
 
I have tried troubleshooting with forum posts, YouTube videos, and Copilot, but cannot find any way for the flow to work. I disabled concurrency and set pagination to 200.
I have attached an image of the flow, and would be happy to provide any further details.
 
I would really appreciate input on any experience with this issue.
Thank you in advance!
Categories:
I have the same question (0)
  • Verified answer
    Tomac Profile Picture
    3,948 Moderator on at
     
    The issue is your nested Apply To Each loops. In the outer-most loop (Apply To Each), it's running 151 times. Inside of that, you have a second loop (Apply To Each 1) that's running an unknown number of times (not listed in the screenshot), and inside of that you have a third loop (Apply To Each 2) that's running 151 times. 
     
    Remember that each inner loop will run the full number of times per run of the outer loop. So this means that, assuming the second loop is running only once, your Filter Array 1 action is running 151 x 151 times, or 22,801 times total. And that's just for one that action. If the second loop is running more than once, you'll multiply the number of times run by that number as well.
     
    Try to avoid nesting loops to get around this issue.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard