function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Tal BadehiTal Badehi 

Split large Sobject collection to multiple smaller Sobject collection

Hi everyone,
My loop&fast update flow is hitting the limits, as I have about 1600 records to update.
I am exploring what is the best option to handle this, and wondered if there is a way to split the large Sobject Collection (created in the flow using fast lookup) into 3-4 smaller Sobject collections?

Thanks,
Tal
Tom Tavernier 9Tom Tavernier 9
I came accross your question searching for a similar issue, I did this by looping over the Get Records collection and moving every record to different sub collections based on a loop counter: record 1 goes into sub collection one, record 2 goes into sun collection two, and so on

User-added image