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

Where XX.X is the latest API version.

Formats: JSON

HTTP Methods: GET, POST

Authentication: Authorization: Bearer TOKEN

Where TOKEN is a variable.

Inputs 

InputTypeDescription
failedRecordIdsarrayThe IDs of failed records in a batch job.
parentBatchJobIdstringRequired. The ID of a batch job with failed records.

Outputs 

OutputTypeDescription
batchJobIdstringThe 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.
statusstringIndicates 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} ]