Creating Validations

To create a validation:

  1. On the Home page, select Administer.
  2. From New, select Validation.
  3. Enter a name for the validation.

    Note:

    The validation will be assigned to the Custom namespace. The Fully Qualified Name for the validation must be unique. The Label field is filled in automatically after entering the name. The validation label is a user-friendly descriptor that is displayed for validations for all features aside of application administration. Multiple validations can have the same Label as long as they are not in the same namespace.

  4. Enter the message to display to the user if the validation fails.
  5. Select a validation class. See Validation Classes.

    Note:

    The valid levels are populated depending on the class selected.

  6. For classes that can be run in real time at the node level, select a level that includes a type of action.
  7. Select from the following options for the validation:
    • RealTime––Runs when a change is made

    • Batch––Runs when explicitly requested

    • Inherited––Runs for selected node and its descendants

    Note:

    Depending on the validation class you select, some of these options may not be available or parameters are displayed for which you may need to edit values.

  8. Define the parameters for the selected validation class.

    See Validation Classes for the parameters for each validation class. For more information on creating formulas, see Creating Formulas. For more information on creating scripts, see Creating Dynamic Scripts.

  9. Click Save button.