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
Pranav S SanvatsarkarPranav S Sanvatsarkar 

How many batches can be processed simultaneouly by Salesforce?

Hello there,

I wonder if salesforce's Apex runtime can process batches of two different classes at the same time (simultaneouly)? If yes, can we track using AsyncApexJob which class is executing current batch?

Thanks in advance.
Best Answer chosen by Pranav S Sanvatsarkar
Magesh Mani YadavMagesh Mani Yadav
Hi Pranav,
Batch Apex can have 5 concurrent (simultaneous) jobs running in parallel.
For more info
https://help.salesforce.com/apex/HTViewSolution?id=000182449

All Answers

Magesh Mani YadavMagesh Mani Yadav
Hi Pranav,
Batch Apex can have 5 concurrent (simultaneous) jobs running in parallel.
For more info
https://help.salesforce.com/apex/HTViewSolution?id=000182449
This was selected as the best answer
Pranav S SanvatsarkarPranav S Sanvatsarkar
Hello Magesh,

Thanks for the response.