Regular Expression Validator

With this workflow validator, you can compare a regular expression against a given field to check if it contains of match the regex.

To add 'Regex 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 Regular Expression 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

Field – Text field that will be matched against the regular expression.

Regular expression – Regular expression that will be used in the selected field.

Match type – Select Full matches to require the text field to completelly match the regular expression. Select Contains to just check if the text of the custom field contains text that matches the regular expression.

Case – Select the case of the checks, either case sensitive or no sensitive. Since v 2.5

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