Validation Examples
From Business Process Management, BPM and Workflow Automation Wiki | BizAgi BPMS
<keywords content="keywords">
validation, validations, example
</keywords>
Validations: Advanced Topics and Examples
- In the event that the validation should require more than one condition, select the logical operator, which can be "AND" or "OR" to complete the expression
- In order to nest the existing conditions with parentheses, use the Link button, which will allow the condition to be nested with the one right before it.
- To Delete a Condition, click on the Delete button on the same line of the condition that is to be eliminated.
- If the field must have several validations, use the Show Multiple Validations check box.
Example
When the client’s data is entered, the identification number must be validated.
For this example, the valid range for Women would be between 20 and 30 million.
The valid range for Men would be between 70 and 80 million.
The validation for the field “Identification Number” is entered:
The first validation includes conditions for the Female gender AND the identification number.
This last condition evaluates if the number is less than 20 million OR greater than 30 million to send an error message.
To join the gender and the identification number conditions, the two sentences for the identification number have to be linked.
Then, a validation for the Male gender must be created. Check the Show Multiple Validations box, and create the conditions:
First, create the Female validation:
Link the Identification Number conditions
Create the Male validation, using Show Multiple Validation check box
Create the validation and click OK
This is how the error message will be shown in the Web Application
Related Articles
<comments />