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
Torsten StaniendaTorsten Stanienda 

Limit "Maximum number of executed elements at run time" per flow or per transaction?

I'm hitting the limit Maximum number of executed elements at run time in a given flow (due to loops with couple of elements and 100s of iterations). So is it appropriate to split the flow into 3 parts, for example, and call all 3 flows from the Process consecutively? So is the limit a per flow limit or a per transaction limit?
Gaurav HandooGaurav Handoo
Hi Torsten

The best approach would be to to move the loop functionality into an Apex class. This would help you to maintain only a single flow while being in limit.

Hope this helps. Please mark as best answer if it does.

Cheers!!

Gaurav