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.
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/