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
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
Hi there we are still in testing . I have run a licence file it seems odd but here it is
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
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
Tomac
986
Moderator
stampcoin
699
Super User 2025 Season 2
Riyaz_riz11
577
Super User 2025 Season 2