Previous Topic: Association of a Validation Rule Set with a Managed Object AttributeNext Topic: How to Initiate Validation


Association of a Validation Rule Set with a Task Screen Field

With directory-level validation, you can associate a rule set with a task screen field indirectly, as follows:

  1. Associate the rule set with a managed object attribute, as described in the previous section.
  2. Be sure that the task screen field to be validated is configured with the managed object attribute associated with the rule set. At runtime, a field value supplied by an end user is validated against the rules in the rule set.

Typically, task screen fields are already configured with attributes. However, you can add a field to a task screen, or you can change the attribute assigned to a field. In those cases, if you want the value supplied to the field to be subject to directory-level validation, configure the field with an attribute that is mapped in directory.xml to the appropriate rule set.