Example on-assign
event
Code Block |
---|
"triggers":
[
{"event": "on-assign",
"conditions":
[
{"state":"Review"}
],
"actions":
[
{"action": "send-email",
"recipients":
[
"@creator",
"@watchers",
"@lastUpdatedBy",
],
"notification": {"subject": "${content.title} has been assigned in the Review state",
"title": "${content.title} is assigned",
"body": "Hello, ${content.link} in the ${content.space} space is
in approval state Review and has been assigned"}}
]}
] |
...
Info |
---|
If adding the JSON trigger using workflow builder visual builder there is no need to include the opening |
...
JSON markup notation, since |
...
it will be added by workflow builder. |
The trigger action will cause an email to be sent to the page author, page watchers of the page and the user who last updated the page.
...
If a JSON condition is present this can include one or more conditions. The trigger will only allow the event to be valid if these conditions are valid.
Trigger events
Filter by label (Content by label) | ||||||
---|---|---|---|---|---|---|
|