Skip to main content
Browse Documentation

Workflow definition event validation

Created by Alex Pop on 04 Aug 2020

A validation for a workflow event parameter.

Currently the only validation supported for use in workflow definitions is the required validation, which can be used in conjunction with the multiline editor to validate that the user enters some text when the parent event is triggered, e.g. when submitting an entry for approval.

Properties

Name Type Format Description
message object Localized value A message to be displyed in the Contensis UI if the validation fails.

Example

This example shows the required validation as used in a workflow definition.

{
    "required": {
        "message": {
            "en-GB": "The reason is required"
        }
}