Skip to main content

Notifications

Community site session details

Community site session details

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

  • johndavies Profile Picture
    6 on at
    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 at
    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 at
    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

🌸 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,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow