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 / Random Flows taking Ho...
Power Automate
Unanswered

Random Flows taking Hours to run vs minutes

(0) ShareShare
ReportReport
Posted on by 2

I have a flow that I am using to update a sharepoint list from an excel file every 2 hours. The idea is to update any rows that are already in the sharepoint list and create new rows that are new. The flow on average takes 7 mins to run, however I logged in on the weekend it took over 13 hours to run! There were some flows that took 5-7 hours. I had to cancel all of them. When I checked the 13 hour run I had a "Unable to Fetch" error. I am now getting a slow performance warning. Here is the flow: 

leems_0-1691354496280.png

leems_1-1691354518586.png

 

leems_2-1691354530464.png

What am I doing wrong?

Categories:
I have the same question (0)
  • creativeopinion Profile Picture
    10,508 Moderator on at

    There are a few instances in your flow where you can utilize a Filter Array action instead of looping through each file or item returned. 

     

    For example, in the beginning of your flow, you are using an Apply to Each action to loop through every single file in a folder and checking if each file matches your condtions.

     

    Instead, if you use a Filter Array action you could filter out the files that match your conditions and loop through those filtered files. It would be much more efficient and then looping through every file to run a check.

     

  • leems Profile Picture
    2 on at

    I made the changes you suggested but that didnt save time. It still takes 11 mins to run 337 rows, where else can I make the updates:

    leems_0-1691501640395.png

    leems_1-1691501667216.png

    leems_2-1691501703123.png

     

     

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 246 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 176

#3
Haque Profile Picture

Haque 157

Last 30 days Overall leaderboard