Asynchronous Processes in Salesforce

Asynchronous Processes in Salesforce

The maximum number of Asynchronous Processes per a 24-hour period is 250,000 or the number of user licenses in your organization multiplied by 200, whichever is greater.

Asynchronous Apex: Batch Apex, Queueable Apex, scheduled Apex, and future methods.

Sample Code to check the limit:

Map < String,System.OrgLimit > limitsMap = OrgLimits.getMap();
System.OrgLimit apiRequestsLimit = limitsMap.get( ‘DailyAsyncApexExecutions’ );
System.debug( ‘Limit Name: ‘ + apiRequestsLimit.getName() );
System.debug( ‘Usage Value: ‘ + apiRequestsLimit.getValue() );
System.debug( ‘Maximum Limit: ‘ + apiRequestsLimit.getLimit() );
 
Output:

Leave a Reply