Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

oImage Modified

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

The email notifications will come from no-reply@comalatech.com

...

. ThisĀ 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

Content Expiry Workflow JSON Trigger
Code Block
languagetext

...

[{"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