- can occurs automatically or when it is built into the application or at specific times during the process execution
- examines a property value in the context of the corresponding property rule.
- It includes multiple validation tests:
1. ensure that the property value is compatible with its type.
2. maximum length assigned to the property (available for Password, Text or Identifier)
(clipboard keeps the longer value, but the dictionary validation adds an associated error message)
3. “Edit Validate” rule which defines a Java routine that tests the validity of an input value. (available for “Single Value”, “Value List”, or “Value Group.”) Any architect who has java knowledge can build new edit-validate rules. Or we can use any of the standard rules that are available to us. (e.g. USZipCode)
4. Control validation (data control)
5. Table validations (only for Single Value, Value List, or Value Group) Table values can come from Local List, Field Value, Class Key Value, Remote List or Prompt List. - Test is performed:
• User input entered on an HTML form is placed on the clipboard.
• The Page-Validate method (in an activity rule) is applied to a page containing the property, or to the property if it has mode Page.
• An Edit Input rule and Property-Validate method (in an activity rule) is applied to the property. [An edit input rule provides a conversion facility. We can use edit input rules to convert data entered by a user (or received from an external system) from a format that our application doesn’t use into another format. We can reference an edit input rule in the Edit Input Value field on the advanced tab of Property rule.]
This type of control and display validation can be enabled in a user interface rule as well, under the “Presentation” tab of the cell, where the property is included. We can configure “required” fields validation in the “General” tab.