Skip to main content

Properties

NameTypeFormatDescription
idstringAn identifier for the event, which must be unique within the workflow state.
nameobjectlocalized valueThe friendly name given to the event.
descriptionobjectlocalized valueA description of the event.
auditTextobjectlocalized valueThe audit text written to the event history log for the event.
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.
parametersobject[...]A list of parameters for the event.
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
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{ "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 } } ] }

Still need help?

New support request