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

Community site session details

Session Id : YNJgcHMLyY8AvBQIvFYqHl
Power Automate - Using Flows
Unanswered

Slow workflow in a loop

Like (0) ShareShare
ReportReport
Posted on 1 Feb 2018 01:38:22 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

  • johndavies Profile Picture
    6 on 06 Feb 2018 at 10:51:13
    Re: Slow workflow in a loop

    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

     

  • johndavies Profile Picture
    6 on 06 Feb 2018 at 10:48:21
    Re: Slow workflow in a loop

    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

  • v-xida-msft Profile Picture
    on 05 Feb 2018 at 10:23:24
    Re: Slow workflow in a loop

    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

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

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Featured topics

Restore a deleted flow
Loading complete