Workflow notifications
Comala Document Management will send email notifications for the following events:
- assignees will receive a notification when they are assigned to review a page/blog.
- the expiry date is reached for content with the Content Expiry workflow applied.
On-screen notification messages will also be created for example, when reviewers have undertaken an approval decision:
For content with the Content Expiry workflow applied, when the expiry date is reached, the content state will change to Expired and email notifications will be sent to:
- users who are watching the content.
- users who are approvers of the content.
- the user (if any) who updated the expiry date.
The email notifications will come from no-reply@comalatech.com,
not from the address that normally sends emails related to built-in Confluence functionality.
Custom notifications
Custom notifications can be added using JSON triggers. A trigger can be set for a specific event to create one or more notifications.
In the Content Expiry workflow when the content in the Approved state expires a JSON trigger is used to:
- send an email notification
- set an on-page message
Code Block | ||||
---|---|---|---|---|
|
[{"event":"on-expire","actions":
[{"action":"send-email","recipients":["@watchers","@approvers","@lastExpirator"],
"notification":
{"subject":"${content.title} has expired",
"title":"${content.title} has expired",
"body":"Hello, ${content.link} in the ${content.space} space has expired and needs to be reviewed"}},
{"action":"set-message","type":"info",
"title":"Expired",
"body":"The page has expired","tags":"state",
"mode":"autoClose"}]}] |
A JSON trigger can be added using the JSON editor or workflow builder.
Related pages
- JSON Triggers
- Add a JSON trigger using workflow builder
- JSON triggers in the Content Expiry and Quality Management Systems workflows
- Multiple JSON Triggers in a custom workflow