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 Automate
Unanswered

Super slow automation

(0) ShareShare
ReportReport
Posted on by 30

Hello

 

I'm creating an automation that makes a PDF and MHTML from my paginated report and sends an email - and loops through a few. It's super slow (takes about 15 minutes). Any ideas on why? It seems like the first few reports are fast but the last few are super slow. Thanks in advance

Categories:
  • Sundeep_Malik Profile Picture
    6,501 on at

    Hey @Charlotte12 

     

    Have you implemented concurrency in your apply to each action?

    So, what concurrency will do is process 50 records in your loop at the same time. So, your process will become faster. The flow which was taking 15 minutes will now take like 5 minutes.

     

    So, to open the concurrency setting, click on three dots of apply to each action, and click on settings.

    Sundeep_Malik_1-1679544630168.png

    After this open the option of concurrency and set a degree of parallelism. You can set it up as per your own choice. Also try to experiment some things, 1st keep it at 10, then 20, then 30, then 40 and lastly at 50. Whichever gives you the best time, keep that value.

     

    Sundeep_Malik_0-1679544615808.png

     

    And now your flow will get a lot faster. 🙂

     

    Note and Warning: If you have used variables inside that apply to each, then this concurrency feature will not work, you will see weird outputs if you use variables. And if you have used variables try to replace them with a compose action. 

     

    I hope this helps 🙂

     

  • VictorIvanidze Profile Picture
    13,083 on at

    Show  your flow.

  • CB-25072030-0 Profile Picture
    30 on at

    Hello @Sundeep_Malik @VictorIvanidze 

     

    Here is my flow - I tried concurrency and played with different degrees of automation and it didn't seem to work (I got a "Resource has been blocked" error). It seems that the thing that is taking so long is the 'Export To File for Paginated Reports - PDF'. I also have one hard-coded parameter in there.

     

    Another thing that I found interesting was that it did have to retry

    Charlotte12_4-1679578100852.png

     

    Charlotte12_2-1679577879624.png

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 307 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 289

#3
Henil Profile Picture

Henil 127

Last 30 days Overall leaderboard