Skip to main content
Browse Documentation
HTTP - Management

Workflow event validation

Created by c.neale, last modified by r.saunders on 24 Sep 2021

A validation for a workflow event parameter.

Required validation

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 the parameters of a workflow event.

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