AsyncApexJob
Represents an individual Apex sharing recalculation job, a batch Apex job, a method with the future annotation, or a job that implements Queueable or Schedulable. Use this object to query Apex batch jobs in your organization.
This guide only lists certain information for each object. For more information, including descriptions of the fields, see AsyncApexJob in the Object Reference for the Salesforce Platform.
| Field Name | Field Label | Type | Digits | Length | Precision | Scale |
|---|---|---|---|---|---|---|
ApexClassId | Class ID | reference | 18 | |||
CompletedDate | Completion Date | datetime | ||||
CreatedById | Created By ID | reference | 18 | |||
CreatedDate | Created Date | datetime | ||||
CronTriggerId | Scheduled Job ID | reference | 18 | |||
ExtendedStatus | Status Detail | string | 255 | |||
Id | Apex Job ID | id | 18 | |||
JobItemsProcessed | Batches Processed | int | 9 | |||
JobType | Job Type | picklist | 40 | |||
LastProcessed | Last ID processed and committed | string | 15 | |||
LastProcessedOffset | Offset of last ID processed and committed | int | 9 | |||
MethodName | Apex Method | string | 255 | |||
NumberOfErrors | Failures | int | 9 | |||
ParentJobId | Apex Job ID | reference | 18 | |||
Status | Status | picklist | 40 | |||
TotalJobItems | Total Batches | int | 9 |