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

Flow apply to each slow performance

Hi, I have a Flow that is triggered from a PowerApps button. It's not anything complicated.

  • A GetItems request returns some SharePoint List Items from a list, not any more than 15 items currently.
  • An Apply to each control step is used to loop around each item
  • An item is updated using the Update Item step

This is causing a time out on PowerApps because it's taking more than 90 seconds

PowerApps Flow button.png

When I look at the Flow it's saying that the Apply to each step is taking more than a minute for 11 records! When you look through each of the steps in the loop (There are 10 in total) most are showing 0s with one or two showing 1s. I know it's not an exact science, but that would suggest this shouldn't take anymore than about 30s to loop through these records.
Flow times.png

Any suggestions to what is going on?
Is it possible to increase the timeout of a PowerApps Flow button?

1 REPLY 1
Highlighted

Re: Flow apply to each slow performance

Some ways to improve the performance. Avoid variables.
Also avoid functions. You could use functions in a select action and use the output of the select to feed the apply to each.
https://veenstra.me.uk/2018/10/15/microsoft-flow-improve-your-flows-performance-in-a-few-easy-steps/

Helpful resources

Announcements
FirstImage

Microsoft Ignite 2020

Check out the announcement of Power Platform content at Microsoft Ignite!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,062)