+ 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.