Skip to main content
Browse Documentation
HTTP - Management

Workflow definition event validation

Created by c.neale, last modified by j.moore on 17 Dec 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.

Property

NameData typeData formatDescription
messageobjectlocalized valueA 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"
        }
}