The Validation Rule Sets

With directory-level validation, one or more validation rules are assigned to a rule set, and the rule set is associated with a managed object attribute.
cim1265
With directory-level validation, one or more validation rules are assigned to a rule set, and the rule set is associated with a managed object attribute.
Rule sets let you define and apply rules in a granular way, such as in the following examples:
  • A rule can be used in different rule sets
  • Rules can be executed in different combinations
When a rule in a rule set fails (for example, a Java or JavaScript rule returns False), any exception messages associated with the rule are presented to the user. All validation rules associated with the attribute must be satisfied before the attribute is considered validated.
Order of Execution for Validation Rule Sets
Rules are executed in the order in which they are listed in the rule set.
Identity Manager
executes each rule in a rule set separately, and transparently continues to each subsequent rule in the rule set unless a rule fails.
Because validation rules are executed in a predictable order, you can implement rules whose actions are dependent upon the outcome of previous rules, as in the following examples:
  • One rule’s output can become input to the next rule.
  • When a field value is changed during validation, the new value can be evaluated in subsequent rules.