Skip to content

Batch Parameters

Batch parameters control the execution behavior of a batch chain (see Scheduling Concepts). You can define multiple batch parameters settings:

  1. In Setup, open Custom Settings.
    In Salesforce Lightning, navigate to Custom Code > Custom Settings.
    In Salesforce Classic, navigate to Develop > Custom Settings.
  2. Click Manage in the row of Batch Parameters.
  3. Click New.
  4. Specify the details as required.
    • Name: Must match the Job Name to be set when scheduling the job
    • Batch Chain: The name of the batch chain to be executed as listed in Scheduling Concepts
    • Parameter 1..8: Define batch chain-specific execution options using the syntax <parameter> = <value>
  5. Click Save.

Info

The InvoiceRunChain and TransactionBuilderChain require parameters.

InvoiceRunChain parameters example
FieldValueDescription
Nameir_schedule_1Must match the Job Name to be set when scheduling the job
Batch ChainInvoiceRunChain
Parameter 1Interval = 2wSets the execution interval to two weeks
Parameter 2InvoiceDate = end-1Sets the invoice date to the penultimate day of the invoice run period
Parameter 3InvoiceRunFilter = MySubscriptionsSets the invoice run filter to MySubscriptions, which must be defined in Filters
Parameter 4TransactionFilters = Cases,OrdersSets the transaction filters to Cases and Orders, which must be defined in Filters
TransactionBuilderChain parameters example
FieldValueDescription
NamebuildtransactionsMust match the Job Name to be set when scheduling the job
Batch ChainTransactionBuilderChain
Parameter 1transactionfilter = transactions1Specifies the transaction filter to be used