Batch Job Actions
Run an active Batch Management job definition. This action executes a defined Batch Management job asynchronously.
A Batch Management job processes a flow in manageable parts. For more information about running an active Batch Management jobs, see Schedule a Batch Job in Salesforce Help.
This object is available in API version 51.0 and later.
To know the products and user permissions needed to access this action, See Supported Editions and Permissions for Batch Management.
URI: /services/data/vXX.X/actions/custom/batchJobAction
Where XX.X is the latest API version.
Formats: JSON
HTTP Methods: GET, POST
Authentication: Authorization: Bearer TOKEN
Where TOKEN is a variable.
The batch job action uses the batch job definition ID and input variables to execute the job and generate a batch job ID. The input values vary according to the input variables in that flow.
| Output | Type | Description |
|---|---|---|
batchJobId | string | ID of the 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. |
A request body is always required. The input values vary according to the input variables in that flow. If your batch job doesn’t require any input variables, you still must send an empty JSON body.
JSON Sample Request
JSON Sample Response