Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
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?

  • leems Profile Picture
    2 on at
    Re: Random Flows taking Hours to run vs minutes

    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

     

     

  • creativeopinion Profile Picture
    10,389 Super User 2025 Season 1 on at
    Re: Random Flows taking Hours to run vs minutes

    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.

     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,645 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow