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 / Slow workflow in a loop
Power Automate
Unanswered

Slow workflow in a loop

(0) ShareShare
ReportReport
Posted on by 6

Hi there wondering if anyone can help with debugging a slow loop.   I have a workflow which iterates through users and adds them to a site via an api. 

 

For 30 users, if you look at the times per branch it is approximately 10secods , so should take 5 minutes. But instead takes 20 minutes.   

 

Does anyone know any smart way to try to work out where the delay is happening as its not obvious in the workflow ? 

 

Thanks 

JOhn

Categories:
I have the same question (0)
  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @johndavies,

     

    Could you please share a screenshot of your flow's configuration?

    Which license does your Microsoft Flow belong to?

     

    Actually, the run time of "Apply to each" action is not equal to the total of the run time of per branch, the "Apply to each" action would have its own trigger interval. 

     

    In addition, the license of your Microsoft Flow would take a effect on the run time of your "Apply to each" action. More details about different licenses of Microsoft Flow, please check the following article:

    https://preview.flow.microsoft.com/en-us/pricing/

     

    Best regards,

    Kris

  • johndavies Profile Picture
    6 on at

    Hi there we are still in testing . I have run a licence file it seems odd but here it is 

    Flow FreeFlow Free1/10/2017 5:38TRUE
    Flow for Office 365Office 365 Education Plus for faculty1/10/2017 5:35FALSE
    Flow Plan 2 TrialFlow Plan 2 Trial10/30/2017 10:58:37 PMTRUE
    PowerApps for Office 365Office 365 Education Plus for faculty1/10/2017 5:35FALSE
    PowerApps TrialPowerApps Plan 2 Free Trial3/15/2017 1:52:30 AMTRUE

     

    I assumed i was on the flow plan 2 trial .

     

     In regards to the trigger interval of the apply to each, Ive looked at the pricing I cant work out what the interval of the apply to each is ? 

     

     i will try to post a screenshot

  • johndavies Profile Picture
    6 on at

    Capture.PNG

    So for example in this loop each loop takes approximately 10 seconds x 44  = approx  7 minutes , but takes, 44 minutes.  But now I note your comment about timings and trigger intevals is it just that it delays it to 1 minute per loop regardless of the timings ?

     

    Thanks John

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 873

#2
Valantis Profile Picture

Valantis 813

#3
Haque Profile Picture

Haque 526

Last 30 days Overall leaderboard