Cloud Migration Resources
Planning a Cloud migration? These resources can help you get started:
→ Comala Document Management Cloud features – Review Cloud features and understand key differences between DC and Cloud.
→ Migration support from Appfire – Learn how we can help you migrate smoothly.
on-approval-assigned event
Overview
Use the on-approval-assigned event in a workflow trigger to listen for a reviewer assignment event and execute one or more trigger actions.
By including a trigger condition, the assignment event in a workflow trigger can be constrained to listen for the approval event in a named state within the workflow, such as the workflow's final or initial state.
Example “on-approval-assigned" event
"triggers":
[
{"event": "on-approval-assigned",
"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"}}
]}
]The trigger action causes an email to be sent to the page author, page watchers, and the user who last updated the page.
"actions":[{ "action":"send-email", ......}],
The trigger action occurs on the "on-assign" event, but ONLY if the current state is the Review state
"conditions":[{"state":"Review"}],