Adding validation rules
The validation rules are added to the algorithm-rules.xml by using a text or XML editor.
- Open the
workbench install path\plugins\com.initiatesystems.workbench_12.0.x\rules\algorithm-rules.xmlfile using an appropriate editor. - 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.
- Refer to the following sections for details on defining your validation rules.