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
could & rockcould & rock 

Batches inside a batch job are executed simultaneously or in a sequential way?

This question might seem silly: Batches inside a batch job are executed simultaneously or in a sequential way?

 

Let's say a batch job has 20 batches, after the batch job is started by SFDC, the batches inside it are executed simultaneously?

Best Answer chosen by Admin (Salesforce Developers) 
GunnarGunnar

Yes. The execute method for any batch class instance are fired sequentially.

The next fires when the last completes.