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

Community site session details

Session Id : ScM+fzeFf4i/5YwGJvbRty
Power Automate - Building Flows
Unanswered

Flow limits - consolidating / working around?

Like (0) ShareShare
ReportReport
Posted on 26 Feb 2021 09:34:34 by 13

We built some heavy process flows that normally at the end of the month. On these days, a specific flow runs many times (at least 3000 records are updated which then creates more list items (doing looks, splits, etc). Those 3000 records would create about 5000 lines

 

For the second month, and we have run into this issue that the performance of that specific flow is causing problems.

 

ManishHiraServi_0-1614330717169.png

 

Problems: Most of our flows designed/owned in our business are managed by a one or two generic accounts. Due to flow consolidation e.g. 100 users x 2000 flows a month (200,000 flows a month). Let's just say we have enough flow runs available for us to do this. So why does Microsoft then do the above?

 

I know the flow in this case is very heavy (lots of conditions , arrays, splits, etc). In normal case, it's take about 6-9s per flow to completely run depending on what the output is.

 

The source list is SharePoint. The target is a different SharePoint list. A mass change is made on the source sharepoint list (e.g. 100 records) which then triggers 100 flows to start as an example to write to the second sharepoint list.

 

What is also super frustrating is that when a limit (per 5 minutes or day) are reached, the flows start but then hang. The flow will never complete. We have runtimes of 8-12 hours. So what we do is then have to manually manage each one , by reviewing the flow, and seeing if the output actually took place. Sometimes the flow says hung, but it completed all actions or sometimes it does it partially which means we need to delete the partial records created in the target list and then run the flow.  We then need to trace each one to ensure we don't have duplicates etc (for example , if we restart the flow for the specific record). 

 

So how do we actually manage this, because this is very frustrating and I don't want to go through the same pain in the future? 🙂

 

Note: I just found out about the concurrency control while I was writing this post. It was unlimited before.

 

Would setting it like this ensure we don't run into limits (when the flow is doing all the heavy things it does,  lookups of sharepoint lists, splits, write records) and make it more reliable especially when 100 records are updated at once, which initiates 100 flows but only 3 will run at a time  until all 100 are done?

ManishHiraServi_2-1614331929666.png

 

 

Many thanks

 

 

  • ManishHiraServi Profile Picture
    13 on 26 Feb 2021 at 12:07:58
    Re: Flow limits - consolidating / working around?

    Thanks for the feedback. I think I understood the same when I was reading up on it too, but my question still stands, if we have 100 users but only 2 users create flows/own them, then surely all the flows/api calls allocated to my 100 users (2000 calls x 100 users = 200,000 calls/APIs) should be used and hence I shouldn't run into limits?  That's where I am confused. There are few other employees using flows, so I pretty confident that it's not being exhausted by other persons.

     

    But I guess, now I just want to have this flow run reliably i.e. if it is triggered - run and finish properly. Would the concurrency control help to stop the API calls being made in a 5 minute/60second window?

     

    So if I set it to run only 15 flows at a time, it means that hopefully I never exhaust the number of API calls those 15 concurrent running flows are raising and hence then Microsoft doesn't start bombing out my flows.  I don't mind that if we have say 3000 records being updated in one day (hence 3000 flows to process them) that it take 1-2 hours to complete. 

     

    It actually would be nice if Microsoft actually showed what the API cost of a flow in the flow settings window, so that one can manage it if required. UserVoice Idea raised: Show API cost of flow in Flow Settings Window - fo... - Power Platform Community (microsoft.com)

     

    Right now as I am not a o365 admin so I see nothing except what my flows or what they resource requirements are

     

     

  • JPMHuls Profile Picture
    103 on 26 Feb 2021 at 10:49:25
    Re: Flow limits - consolidating / working around?

    Microsoft now (also) looks at the api calls (as seen in the flow's Analytics) made by flows which is 2000/day/regular user or 5000/day/premium user. You can buy additional api packs (I think per 10000 api calls). Most flow action count as an api call, at least as I understand it. NB: a few actions are reset every 60 seconds.

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Loading complete