FAQs

Why are my Apex jobs holding?

Salesforce’s Apex jobs are processed in the background, allowing for efficient handling of large data volumes without hindering user interactions. When a Batch Apex job is submitted, it’s placed into a queue. Salesforce imposes a limit of five queued or active batch jobs per organization to ensure optimal resource utilization. Any additional jobs beyond this limit are assigned a “Holding” status and placed into the Apex Queue.

Jobs in the “Holding” status remain in the Queue until system resources become available. At that point, they’re moved to the active job queue and their status changes to “Queued.” The system processes these jobs on a first-in, first-out basis. Importantly, Beaufort 12 has no control over this process.

While the Queue mechanism is designed to efficiently manage job execution, there are instances where jobs remain in the “Holding” status indefinitely. Several factors may contribute to this issue, but ultimately, these are all Salesforce platform issues.

If you encounter jobs that are held indefinitely, Contact Salesforce Support. Please provide them with specific job IDs and details from the Apex Jobs screen under setup. Typically Salesforce support will need to intervene to delete old or stuck Apex Token jobs, as they have done in past instances.

Related articles
How to guides
Contact Us