Client Batch Configuration

Client Batch Configuration

Batches (records for batch processing) are described in the "batches" section of the client options file.
…

Reports can be run along with batches.

Either in a group like
group: [
{ batch: '_Test 1' },
{ report: 'report_281866' },
....
],

or as a batch run parameter
'--run_report_after', 'report_281866' (where report_281866 is the report ID)

If the report is configured to send results by email, they are sent unless DEV mode is enabled.

It is possible to run a batch with editable parameters.
If a batch's options include an "optional" field, the fields listed there will appear in a modal window before the batch is launched (just like for running reports).

For the "run_query" batch, launch parameters allow you to execute scripts that require parameters. These parameters should be described in the same way as they are used in the script:
optional: ['--[diagram]', '--:store'],

If the batch name begins with _ , these batches are visible only to us, the mysales user, and in --no_security mode.