Adding validation rules

The validation rules are added to the algorithm-rules.xml by using a text or XML editor.

  1. Open the workbench install path\plugins\com.initiatesystems.workbench_12.0.x\rules\algorithm-rules.xml file using an appropriate editor.
  2. Locate the section where your new rule will best fit. You can create rules for the following function types:
    • Standardization functions
    • Comparison functions
    • Bucketing functions
    • Generation functions

      A sample of the validation-rules.xml is included in Sample validation rules XML.

      Note: Any rules more than 255 characters in length must be split into multiple properties, numbered consecutively by Record Number.
  3. Refer to the following sections for details on defining your validation rules.