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
Ker Vin.ax1237Ker Vin.ax1237 

2000 Batch jobs limit

Per SFDC documentation, you can only submit 2000 batch jobs per 24 hours.

 

Let's say you have an APEX batch job. This batch job in turns creates multiple batches (database batchable?) as it needs to match against specific fields in the entire Lead database.

 

Does the 2000 batch per 24 hours apply to the APEX batch job only or to all the multiple batches that it creates? Just need to confirm this.

sfdcfoxsfdcfox

Each invocation counts as a batch. So if you have 500 custom fields, and you create 500 batches, you have used a quarter of your uses for the day.