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
Lee SinLee Sin 

How can I know if its the last batch to be executed in the execute method?

I need to process a shared Map type variable after all batched are executed.
How can I use an if statement to judge this?
anil savaliya 11anil savaliya 11
Hey Jack,

Write logic in final method,It's execute after all batch run.