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 | Type | Description |
|---|---|---|
| failedRecordIds | array | The IDs of failed records in a batch job. |
| parentBatchJobId | string | Required. The ID of a batch job with failed records. |
Outputs
| Output | Type | Description |
|---|---|---|
| batchJobId | string | 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 | string | 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} ]