Skip to main content

Hi All,

We have come across this weird use case where we had to process n number of records where n is not static it can be any number be it 1 or 100 or 1000.

While processing those records we are making a call to apex action which is part of a manage package and that package is throwing error "Too many future calls 51" as soon as n is more than 50.

 

So we need to separate these chunks of records into batches of 50 and that too asynchronously.

So we want to understand that how can we make a flow call itself or any other child flow that processes asynchronously?

 

Any other approaches are also welcome.

 

Thanks

P.S. We have to build the solution using flows  

2 respuestas
  1. 13 abr 2022, 12:28 p.m.

    Hello,

     

    Probably you are using scheduled paths to make your flow run asynchronously. You can change the batch size through the advanced section. Please see the screenshot below.

    Hello, Probably you are using scheduled paths to make your flow run asynchronously. You can change the batch size through the advanced section. Please see the screenshot below.