Skip to main content

Cookie control banner

Necessary Cookies
These cookies are necessary for this website to function correctly. They are set when you perform certain actions on the site, such as creating an account, logging in, changing your privacy preferences or submitting a form. You can block these cookies in your browser, but this will stop parts of the site from working properly.
Functional Cookies
These cookies allow the website to provide extra functionality and more personalised experiences. They may be set by us or by third party providers whose services we have added to our pages. If you choose not to allow these cookies, these services may not work correctly.
Analytical Cookies
These cookies record anonymous data on how visitors use our website to help us monitor how well our website works. This data includes how many people have looked at specific pages, how long visitors stay on the site, and what devices they use. We use this data to identify changes that we could make to improve your experience and make our website more efficient.
Marketing Cookies
We set some cookies so you are shown more relevant marketing content. These include cookies from third-party advertising networks to show you different adverts on their services if you have previously visited our site. If you choose not to allow these cookies, you may experience less relevant advertising on other sites.
Browse Documentation
HTTP - Management

Workflow event

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

An event that can occur to an entry while it is in the current workflow state. This may cause the entry to transition to a different workflow state or stay in the same state.

To publish an entry with a custom workflow, one or more events on one or more states must transition to the sysWorkflow state, which is a system state. Once the entry is in this state, it will either be published immediately, or if a publishing schedule is set for the entry, scheduled for publishing.

System states and are not included in the workflow, however the sysUpdate event can be overridden in any custom state. This will allow users approving an entry to make changes to the entry in the approval state, enabling them to fix spelling mistakes and grammatical errors rather than declining the entry. This can be achieved by adding a sysUpdate event to the approval state but using the same groupId as used for approve/decline.

Properties

NameData typeData formatDescription
idstringAn identifier for the event, which must be unique within the workflow state.
transitionTostringThe identifier for the state that the event causes the entry to transition to. If this is not specified or set to *null* then the entry will remain in the same state when this event is triggered.
groupIdstringThe identifier of the workflow [event group](event-group) which the event belongs to.
colorstringThe color to be displayed in the Contensis UI for the event.
uiActionstringThe event to be performed by the Contensis UI when an entry exits the workflow state. Currently on the value "navigateToEntryListing" is supported. The default is for no action to occur.
validatebooleanfieldSpecifies if validation should occur when an author invokes this event

Example

This example shows an event that is part of workflow state (not shown for simplicity).

JSON
{ "id": "submit", "name": { "en-GB": "Send for approval" }, "auditText": { "en-GB": "Submitted" }, "description": { "en-GB": "Send the entry for approval" }, "transitionTo": "awaitingApproval", "color": "green", "groupId": "submitRevoke", "uiAction": "navigateToEntryListing", "validate": true, "parameters": [ { "id": "message", "name": { "en-GB": "Add an optional message for the approver" }, "dataType": "string", "dataFormat": null, "description": { "en-GB": "The message included with the entry submission" }, "default": null, "validations": {}, "editor": { "id": "multiline", "instructions": { "en-GB": "Optionally include a message to let an approver understand your changes" }, "properties": null } } ] }