Skip to main content

Workflow UI editor views

Log in to add to favourites

Properties

NameTypeDescription
defaultstringThe default entry view.
previousPublishedVersionComparestringThe entry is displayed alongside its previous version in order to compare which fields have changed.

Example

This example shows the UI Editor View being used in a workflow definition state

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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{ "id": "awaitingApproval", "name": { "en-GB": "Awaiting approval" }, "events": [ { "id": "revoke", "name": { "en-GB": "Revoke and edit" }, "auditText": { "en-GB": "Revoked" }, "description": { "en-GB": "Revoke the entry submission" }, "transitionTo": "draft", "color": "white", "groupId": "submitRevoke", "uiAction": "none", "validate": false, "parameters": [] }, { "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 } } ] }, { "id": "approve", "name": { "en-GB": "Approve" }, "auditText": { "en-GB": "Approved" }, "description": { "en-GB": "Approve the entry changes for publishing" }, "transitionTo": "sysWorkflow", "color": "green", "groupId": "approveDecline", "uiAction": "navigateToEntryListing", "validate": false, "parameters": [] } ], "color": "yellow", "uiEditorView": "previousPublishedVersionCompare", "allowUpdates": false }

Still need help?

New support request