Thursday 5 December 2019

Parallel Loop in Power Automate (Microsoft Flow) - Degree of Parallelism

Hi Everyone,

Today I was exploring something on flows and came to know about "Degree of Parallelism". Here is the more information on the same.

There are many situations, we might loop through the records and do some operation. In this example, I am retrieving records from CE and updating them by looping through each one and it took 2 minutes to complete the operation sequentially. That means only one child record is processed at a time.

We can improve the performance of this by enabling "Concurrency Control" and setting "Degree of parallelism" from Apply Each control settings.

Once we apply the setting, it took only 6 Seconds in my scenario after setting the degree of parallelism to 20 (Max value is 50).

Hope this helps.

--
Happy 365'ing
Gopinath

No comments:

Post a Comment