Batch class field

You can specify a field that can be used to categorize the executed batches in a batch class. Use the batch class fields to provide some user-specific information. The field can be specified when uploading batches through Web Scanner and Upload Batch. You can set up the validation pattern and the sample value for the defined batch class field. Regex Builder/Regex pool can be used to provide the validation pattern.

Configurable properties

Configurable property Type of value Value options Description
Name String N/A Name for the batch class field.
Description String N/A Description of the batch class field.
Type List of values
  • STRING
  • DATE
  • LONG
  • DOUBLE
  • INTEGER
  • FLOAT
  • BIGDECIMAL
  • BOOLEAN
  • PASSWORD
Type specifies the data type of the batch class field.
Field Order Integer N/A Field Order specifies order in which batch class fields should appear on the UI.
Sample Values String User can specify the sample values for batch class field. Defines sample values for a batch class field.
Validation Pattern String N/A Validation pattern for the batch class field value.
Field Option Value List String N/A Specifies the values for batch class field options.

Invalid fields are shown in red.

The Batch.xml file of the batch contains the information about the batch class fields.

Batch Class Field information in batch.xml