Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel2
outlinefalse
typeflat
separatorpipe
printablefalse

Overview

Excerpt

One or more trigger actions can be set for a named event in the workflow.

Excerpt
hiddentrue
nameRefined page card image

When the workflow event occurs the trigger checks that any required condition is met, and if met the action(s) will occur.

Actions

A list of actions to perform once the event has occurred and the conditions are fulfilled. A single trigger may include one or more actions.

Table of Contents
maxLevel3
minLevel3


Triggers can be added to a workflow using workflow builder.

workflow builder visual editor - edit workflow panel with trigger added
Code Block
"triggers:"
[
	{"event": "on-change-state",
		"conditions":
		[
			{"state": "Rejected"} ],
		"actions":
		[
			{"action":"set-message", "type":"info", "title":"Hey My Wonderful design and Tech Team", "body":"We have some work to do ... it was rejected!!!"}
		]
	}
]
Info

If adding the JSON trigger using workflow builder there is no need to include the opening "triggers:" JSON markup notation, since it will be added automatically by workflow builder.

If the action includes a "user" parameter, the users can only be added using the userId. The "group" parameter value can be added as either groupId or groupName. Both the "user" and the "group" parameters accept workflow parameters.

"change-state"

Insert excerpt
change-state trigger action
change-state trigger action
nopaneltrue

"publish-page"

Insert excerpt
publish-page trigger action
publish-page trigger action
nopaneltrue

"approve"

Insert excerpt
approve trigger action
approve trigger action
nopaneltrue

"reject"

Insert excerpt
reject trigger action
reject trigger action
nopaneltrue

"assign" and "unassign"

Insert excerpt
assign trigger action
assign trigger action
nopaneltrue

"set-expiration"

Insert excerpt
set-expiration trigger action
set-expiration trigger action
nopaneltrue

"clear-expiration"

Insert excerpt
clear-expiration trigger action
clear-expiration trigger action
nopaneltrue

"set-message"

Insert excerpt
set-message trigger action
set-message trigger action
nopaneltrue

"clean-messages"

Insert excerpt
clean-messages trigger action
clean-messages trigger action
nopaneltrue

"remove-restrictions"

Insert excerpt
remove-restrictions trigger action
remove-restrictions trigger action
nopaneltrue

"send-email"

Insert excerpt
send-email trigger action
send-email trigger action
nopaneltrue

Related Pages