Skip to main content

Workflow definition event validation

Log in to add to favourites

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.

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

Still need help?

If you still need help after reading this article, don't hesitate to reach out to the Contensis community on Slack or raise a support ticket to get help from our team.
New support request