cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
toby-at-yell
Level: Powered On

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
Super User
Super User

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
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,298)