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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Automate
Unanswered

Foreach Loop speed

(0) ShareShare
ReportReport
Posted on by 156

Hi,

Has anyone found the reason why the foreach loop in Power Automate Flows is so slow? Has any one found a way to speed it up? It is quite a pain!!!

 

Thanks

-S

Categories:
I have the same question (0)
  • VictorIvanidze Profile Picture
    13,079 on at

    Well, you know, any Power Automate action is quite slow.

    It might be you do not need to use "For each" at all. Could you show your flow?

  • Symira Profile Picture
    156 on at

    Hi @VictorIvanidze 

    Thanks for your reply.

    There are a lot of flows, which I have to use for continuous dataintegration from external databases (SQL etc.), where I query rowsets from the source and loop over them to update records in most cases in Dataverse tables. A simple and straightforward use case but so slow...

    -S

  • VictorIvanidze Profile Picture
    13,079 on at
  • Symira Profile Picture
    156 on at

    Hi @VictorIvanidze 

    Thanks. This is indeed a tempting idea. But, but looks like I am not getting something.

     

    • Let's say I have a table in SQL with 5 rows, which reflects 5 rows in a Dataverse table (including id)
    • Assume that the field "Year valid till" in the dataverse table is empty or not valid any more and needs to be updated

    Symira_0-1651655207845.png

     

    I create a flow, and SQL action to list rows.

     

    Now you mean I can update the Dataverse rows without a loop? That would be amazinig!!!

     

    Eager to read your views.

     

    Thanks

    -S

     

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 378 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 273 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 135 Most Valuable Professional

Last 30 days Overall leaderboard