3

I'm trying to create a flow that will create 70 child campaigns with 40 leads in each(2800 leads are stored in parent campaign) flow itself

It says that my organization has exceeded the maximum limit for this feature. I found out that limit for such flow should be 2000, but error appears at 339 iteration. Can somebody explain why and how can i bypass this limit in such task?

2

1 Answer 1

3

For a flow, you can execute at most 2000 elements; in practice even a very small loop would be limited to about 500 records. Every box you see in your flow is an element, and every time you hit a new element, the flow's limit counter increments. You'll need to break up the Flow with some Pause elements to make it go asynchronous, or you'll want to just consider Apex, which can easily handle many times more records than a Flow can.

1
  • i thought of apex but it is not available in that org, I came up to the idea where i would process around 400 record at a time and launch flow multiple times! Apr 19, 2022 at 14:54

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .