Administer > Application Setup > Process Designer > Adding a rule > Add a Validate Date rule

Add a Validate Date rule

Applies to User Roles:

System Administrator

Implementer

This rule enables you to validate a date field against an absolute date or a range of relative dates. For example, you can add a rule to validate whether a document expiration date is greater than or equal to the document creation date.

To add a Validate Date rule, follow these steps:

  1. In the System Navigator, click Tailoring > Process Designer > Rule Sets.
  2. Click Search to open the Rule Set form, and then select the rule set to which you want to add the rule.

    Note You can edit user-defined rule sets only. Out-of-box rule sets are labeled as HPE Proprietary and cannot be modified.

  3. Click Add Rule to open the Select Rule Type page, and then click Validate Date.
  4. In the Rule Description field, type a description of your new rule.
  5. Click Edit to add conditions to the rule.

    Note If you do not specify a condition, the value defaults to Always.

  6. Select the error message type: Pop-up or Screen to display during validation.
  7. Select the field to validate from the drop-down list.

    Note The drop-down list displays all fields with the Date data type from the current table.

  8. Select the comparison operator from the drop-down list.
  9. Select the Not option if you want to negate the comparison.
  10. Click Relative Date/Time or Absolute Date/Time to validate against date field.

    Note  

    • If you select Relative Date/Time, select a date field or Current Date/Time from the drop-down list.
    • An offset time of days, hours, and minutes can be added or subtracted from the relative date/time by selecting + or -. For instance, an offset of +04:03:02 indicates the relative date/time is ahead by 4 days, 3 hours, and 2 minutes.
    • If you select Absolute Date/Time, click the Calendar icon to select the date and time.
  11. Click OK to add the new rule to the rule set.