Newer Version Available
BatchProcessJobDefinition
File Suffix and Directory Location
BatchProcessJobDefinition components have the suffix .batchProcessJobDefinition and are stored in the batchProcessJobDefinitions folder.
Version
BatchProcessJobDefinition components are available in API version 51.0 and later.
Special Access Rules
To use this metadata type, your Salesforce org must have the Loyalty Management or the Rebate Management license. The Loyalty Program Process type is only available in orgs that have Loyalty Management enabled.
Fields
| Field Name | Field Type | Description |
|---|---|---|
| batchSize | integer | Required. Number of records that each Batch Management job can process. Flow type Batch Management jobs can process up to 2000 records and Loyalty Program Process type Batch Management jobs can process up to 250 records. |
| dataSource | BatchDataSource[] | Required. Source of information whose records must be processed by the Batch Management job. |
| description | string | Description of the Batch Management job, up to 255 characters. |
| executionProcessApiName | string | API name of process that must be executed by the Batch Management job. This
field is available in API version 55.0 and later.
|
| flowApiName | string | API name of an active flow process that must be executed by the Batch Management job. |
| flowInputVariable | string | Input variable of associated flow that is used by the batch job to uniquely identify records. |
| masterLabel | string | Required. Name of the Batch Management job, up to 80 characters. |
| processGroup | string | Required. Name of the group for which the Batch Management job processes records. |
| retryCount | integer | Required. Number of times this Batch Management job must be rerun in case it fails. The maximum retry count is 3. Valid values are 1–3. |
| retryInterval | integer | Required. Number of milliseconds after which the Batch Management job must be rerun in case it fails. Valid values are 1,000–10,000. |
| status | string | Indicates the status of the Batch Management job. Valid values are Active and Inactive. |
| type | string (enumeration of type string) | The type of process that the Batch Management job must execute. This field is
available in API version 55.0 and later. Valid values are:
|
Represents the source of information whose records must be processed by the Batch Management job.
Fields
| Field Name | Field Type | Description |
|---|---|---|
| condition | string | Required. Criteria defined to filter the records. |
| criteria | string | Type of filter criteria that’s used to filter records for processing. |
| filters | BatchDataSrcFilterCriteria[] | Filter criterion that decides which records must be processed by the Batch Management job. |
| sourceObject | string | Required. API name of an object whose records must be processed by the batch
job. If the batch job type is Loyalty Program Process, the source object must be:
|
| sourceObjectField | string | API name of the source object field that uniquely identifies records for which
the batch job is executed. This field is available in API version 57.0 and
later. This field is only applicable when the batch job’s type is Loyalty Program Process and a TierProcess type active loyalty program process is specified in the executionProcessApiName field. Specify the API name of a field that is a lookup to the LoyaltyProgramMember object and uniquely identifies the members whose tier must be assessed. |
Represents the filter conditions that decide which records must be processed by the Batch Management job.