Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

Submit Failed Records Batch Job

Run to resubmit an existing batch job with failed records for processing. This action executes the batch job asynchronously.

This object is available in API version 52.0 and later.

Special Access Rules

To know the products and user permissions needed to access this action, See Supported Editions and Permissions for Batch Management.

Supported REST HTTP Methods

URI
/services/data/vXX.X/actions/standard/submitFailedRecordsBatchJob
Formats
JSON
HTTP Methods
GET, POST
Authentication
Authorization: Bearer token

Inputs

Input Details
failedRecordIds
Type
array
Description
The IDs of failed records in a batch job.
parentBatchJobId
Type
string
Description
Required. The ID of a batch job with failed records.

Outputs

Output Details
batchJobId
Type
string
Description
The ID of a batch job generated after the request is successful. This batch job ID is used to track the progress of the batch job in Monitor Workflow Services in the org.
status
Type
string
Description
Indicates whether a batch job succeeded or failed.

Usage

JSON Sample Request

1{
2   "inputs": [{
3      "parentBatchJobId": "0mdRM0000004DXrYAM",
4      "failedRecordIds": [
5         "001RM000005AG0bYAG", "001RM000005AERZYA4", "001RM000005AG0WYAW"
6      ]
7   }]
8}

JSON Sample Response

1[ {
2   "actionName" : "submitFailedRecordsBatchJob",
3   "errors" : null,
4   "isSuccess" : true,
5   "outputValues" : {
6      "batchJobId" : "0mdRM0000004DZ9YAM"
7   }
8} ]