Hope one can help me out here.
Current situation: I collect SharePoint list items using a SharePoint HTTP request action and returns around 3000 items. All those items are updated based on several conditions, which is causing the current flow to run more than 2 to 3 hours daily.
To be situation; I want to split the total items returned in x-number of equal divided arrays and process them simultaneously. For example, I have 3000 items and want to have them processed in 5 simultaneous threads of each 600 items. Where thread 1 holds the first 600, thread 2 the next 600, and so on...
As a starting point I used the solution of Paul Murana on this blog post, which is quite close to what I want to achieve. When I adjust it to the list and queries, I want to use, the items in the different threads are far from equal. One holds 500 items while the other holds 1700 items.
If more info is required, please reach out!