MCP Server for Salesforce

Build 24.0.9300

AsyncApexJob

Tracks the execution of asynchronous Apex jobs, including batch and scheduled jobs.

Columns

Name Type ReadOnly References Description
Id [KEY] String True

Unique identifier for the asynchronous Apex job.

CreatedDate Datetime True

Date and time when the job was created.

CreatedById String True

User.Id

ID of the user who initiated the job.

JobType String True

The type of asynchronous job, such as BatchApex, Future, Queueable, or ScheduledApex.

ApexClassId String True

ApexClass.Id

ID of the Apex class associated with the job.

Status String True

Current status of the job, such as Queued, Processing, Completed, or Failed.

JobItemsProcessed Int True

The number of job items or batches that have been processed so far.

TotalJobItems Int True

The total number of job items or batches that are scheduled to be processed.

NumberOfErrors Int True

The number of job items that failed during processing.

CompletedDate Datetime True

Date and time when the job finished executing.

MethodName String True

The name of the Apex method that was executed as part of the job.

ExtendedStatus String True

Detailed status message providing additional context about the job's execution.

ParentJobId String True

AsyncApexJob.Id

If the job was created by another Apex job, this is the ID of the parent job.

LastProcessed String True

The ID of the last record that was successfully processed and committed.

LastProcessedOffset Int True

The offset position of the last record that was successfully processed and committed.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 24.0.9300