Loading
Prepare for Email to Become the Default Login ExperienceRead More
Batch Management
Submit Failed Records in Flows

Submit Failed Records in Flows

Use a Flow action to submit failed records for processing. You can schedule the flow to submit the failed records automatically after a batch job run is complete with the Completed with Failures status.

Required Editions

View supported editions.
User Permissions Needed
To create a flow: Manage Flow
  1. Click Setup icon, and select Setup.
  2. In the Quick Find box, search and select Flows.
  3. Click New Flow.
  4. Configure the flow.
  5. Add the Action element at the specific point in the flow where the batch job runs failed records must be submitted.
  6. Either search for the Submit Failed Records action or find the action from the Batch Job category.
  7. In the Batch Job ID field, specify the ID of the batch job run that contains the failed records you want to submit for processing.
    You can find the ID from the Run ID column in the list views of the Monitor Workflow Services page. You can also get the Run ID by using a flow resource.
  8. To submit specific failed records, include Failed Records IDs, and specify the failed records IDs in a comma-separated list.
    You can find the record IDs from the Batch Job Part Failed Record ID column on the Failed Records tab of the batch job run. You can also get the Batch Job Failed Record ID by using a flow resource.
  9. Configure the remaining elements in the flow.
  10. Save and activate the flow.
 
Loading
Salesforce Help | Article