cancel
Showing results for 
Search instead for 
Did you mean: 

Degree of Parallelism in Power Automate

 

What is Degree of Parallelism ?

The number of loop iterations that can run at the same time, or in parallel.

 

Degree of Parallelism in Power Automate?

Lets take a scenario of updating child records on update of parent record. One of the most used controls is ‘Apply Each’ which is used to process a list of items.

 

By default, loops run in sequence (essentially, parallelism is 1) . That means only one child record is processed at a time.

 

So, in some scenarios if the number of child records is more , flow takes more time to complete. In my case, it took more than 4 minutes to process 100 records.

 

We can improve the flow performance by enabling ‘Concurrency Control’ and adjusting ‘Degree of parallelism’ settings of ‘Apply Each’ control.

 

image.png

 

image.png

 

In my case, it took less than 1 minute to process 100 child records after setting the degree of parallelism to 20 (Max value is 50).

 

Read about limits and configuration in Power Automate here.

 

Hope it helps.

 

Original Post from my blog : https://powerofpowerplatform.com/degree-of-parallelism-in-power-automate/

 

 

 

 

Comments

Hi there,

 

I have a similar situation where i have a SharePoint list containing items "invoices" that increase on daily basis.

 

I want to send all the invoices created within the week to the customers by the end of the week.

This will make more than 200 invoice per week.

 

My currant configurations is sending only 50 as i`m using apply to each item " 50 Degree of parallelism" to send the email with options "which will cause the flaw to pause till the customer responds".

 

Is there any way to increase the degree of parallelism more than 50?

Meet Our Blog Authors
  • Experienced Consultant with a demonstrated history of working in the information technology and services industry. Skilled in Office 365, Azure, SharePoint Online, PowerShell, Nintex, K2, SharePoint Designer workflow automation, PowerApps, Microsoft Flow, PowerShell, Active Directory, Operating Systems, Networking, and JavaScript. Strong consulting professional with a Bachelor of Engineering (B.E.) focused in Information Technology from Mumbai University.
  • Encodian Owner / Founder - Ex Microsoft Consulting Services - Architect / Developer - 20 years in SharePoint - PowerPlatform Fan
  • Cambridge UK Power Platform User Group Leader, Technical evangelist and speaker. Always says yes to coffee! #LetsGetCoffee
  • Passionate #Programmer #SharePoint #SPFx #Office365 #MSFlow | C-sharpCorner MVP | SharePoint StackOverflow, Github, PnP contributor
  • I am building business processes and applications that are easy for users' to stick to, so they can follow and understand them. In overall I transform processes to be more reliable and effortless. I am a proud co-organizer of SharePoint Saturday Warsaw and active community member, blogger and international speaker.