Date validator

With this workflow validator you can stop transitions if any given date or date time field is before or after any other given field or the current date.

To add 'Date validator' to a transition: 

  1. Click Edit for the workflow that has the transition you wish to add the validator on.
  2. In the Workflow Designer, select the transition.
  3. Click on Validator in the properties panel.
  4. Click on Add validator.
  5. Select Date validator from the list of validators.
  6. Click on Add to add the validator on the transition.
  7. Fill the form shown below and press 'Add' button.

Fields

Date in – shows date and date time fields. You can also select [Current Date] to compare agains the current date time when the validation triggeres.

Must be – determines the comparision (after or equal or after). Please note that comparing date fields with date time fields could lead to apparently wrong comparision.

Error Message – Set here the message you want to display o users when this validation fails