Salesforce Dictionary - Free Salesforce GlossarySalesforce Dictionary
Full Apex Jobs entry
How-to guide

How to set up Apex Jobs in Salesforce

Apex Jobs is the read-only page for monitoring batch Apex, queueable Apex, scheduled Apex, and future-method execution — what's running, what's failed, what's in queue. When a nightly batch isn't producing expected output, this is the first stop.

By Dipojjal Chakrabarti · Editor, Salesforce DictionaryLast updated Apr 20, 2026

Apex Jobs is the read-only page for monitoring batch Apex, queueable Apex, scheduled Apex, and future-method execution — what's running, what's failed, what's in queue. When a nightly batch isn't producing expected output, this is the first stop.

  1. Open Setup → Apex Jobs

    Setup gear → Quick Find: Apex Jobs → Apex Jobs.

  2. Review the list of jobs

    Each row: Job Type, Class, Status, Submitted, Started, Total Batches, Records Processed, Records Failed.

  3. Click into a failed job for batch-by-batch detail

    Failed jobs have per-batch error details. Common causes: governor limit hits, validation failures, integration timeouts.

  4. Abort an in-flight job

    Top-right of the job detail page. Stops further batch execution; in-flight batches finish but no new batches start.

  5. For scheduled Apex, see Setup → Scheduled Jobs

    Scheduled Jobs is the schedule registry; Apex Jobs shows actual executions.

  6. Use Apex Flex Queue (Setup → Apex Flex Queue) to reorder pending batches

    When 5+ batches are queued, you can reorder which runs next.

Key options
Job Typeremember

Batch Apex / Queueable / Future / Scheduled. Filter to find specific job types.

Statusremember

Queued / Preparing / Processing / Completed / Failed / Aborted.

Records Processed / Failedremember

Counts. Failed records have per-batch error CSV downloadable.

Apex Flex Queueremember

Reorder pending Batch Apex jobs.

Gotchas
  • Failed Batch Apex doesn't auto-retry. Read the error, fix the cause, re-submit. Don't expect Salesforce to retry on its own.
  • Each org has a max of 5 active or queued Batch Apex jobs. Submitting a 6th fails — Apex Flex Queue helps manage the queue.
  • Future methods don't appear here until they execute. A backlog of future calls sits in an internal queue until governor limits allow execution.

See the full Apex Jobs entry

Apex Jobs includes the definition, worked example, deep dive, related terms, and a quiz.