Skip to main content

Workflow event parameters

Log in to add to favourites

Properties

NameTypeFormatDescription
idstringThe identifier for the parameter.
nameobjectlocalized valueThe friendly name given to the parameter.
descriptionobjectlocalized valueThe description given to the parameter.
dataTypestringThis should be set to "string".
defaultobjectThis should be set to null.
validationsobject[...]validationThe validation to be used.
editorobjecteditorThe editor to be used.

Example

This example shows a parameter as used in a workflow definition.

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
40
41
42
43
44
45
46
{ "id": "decline", "name": { "en-GB": "Decline" }, "auditText": { "en-GB": "Declined" }, "description": { "en-GB": "Decline the entry for approval" }, "transitionTo": "declined", "color": "red", "groupId": "approveDecline", "uiAction": "navigateToEntryListing", "validate": false, "parameters": [ { "id": "message", "name": { "en-GB": "Add a message to explain to the author why this content is being declined" }, "dataType": "string", "dataFormat": null, "description": { "en-GB": "The decline reason" }, "default": null, "validations": { "required": { "message": { "en-GB": "The decline reason is required" } } }, "editor": { "id": "multiline", "instructions": { "en-GB": "Include a message to let an approver know your changes" }, "properties": null } } ] }

Still need help?

New support request