GetJobInfoV2
Retrieves details of a Salesforce job, including its processing status and metadata.
Input
| Name | Type | Description |
| JobId | String | The unique Salesforce Job ID to retrieve detailed metadata and processing status for a bulk job. |
| JobType | String | Specifies the type of job to retrieve. Valid values include 'INGEST' (data load), 'QUERY' (data extraction), or 'UNKNOWN' (unspecified).
The allowed values are UNKNOWN, INGEST, QUERY. The default value is UNKNOWN. |
Result Set Columns
| Name | Type | Description |
| ObjectName | String | Name of the Salesforce object the job operates on, such as Contact, Lead, or Opportunity. |
| Operation | String | Bulk operation being performed in the job. Common values include insert, update, upsert, delete, query, and hardDelete. |
| ApiVersion | String | API version used to create the job. Determines available features and fields. Minimum supported version is 17.0. |
| ConcurrencyMode | String | Execution mode for the job. 'Parallel' processes batches simultaneously, while 'Serial' processes them one at a time to avoid conflicts. |
| ContentType | String | The format of the data submitted or retrieved by the job. Valid formats include CSV, XML, ZIP_CSV, and ZIP_XML. |
| CreatedById | String | Salesforce user ID of the individual who created the job. |
| CreatedDate | String | UTC timestamp indicating when the job was initially created. |
| NumberRecordsProcessed | String | The total number of records that have been successfully processed by this job so far. |
| NumberRetries | String | Number of internal retry attempts made by Salesforce to save job results due to issues such as lock contention or system conflicts. |
| State | String | Current lifecycle state of the job. Possible values include 'Open', 'Closed', 'Aborted', or 'Failed'. |
| SystemModStamp | String | UTC timestamp of the most recent update to the job, such as completion or failure. |
| TotalProcessingTime | String | Total time in milliseconds spent processing all records in the job, excluding time spent waiting in the queue. Available from API version 19.0. |
| IsPkChunkingSupported | String | Indicates whether Primary Key (PK) chunking is supported for the object in query jobs, useful for large data volumes. |
| ErrorMessage | String | Error details returned if the job has failed. Helps in diagnosing processing or system issues. |