Notification
The infrastructure for notifications is mostly complete and includes three channels:
- Web Channel
- Mail Channel
- Microsoft Teams Channel
And one event:
All Channels can be configured individually. The channels can for example be enabled or disabled and the default subscription settings for the events can be defined. Each user has the ability to override these settings for themselves.
Every event comes with a default template for each channel that defines the subject and content of the notification. The templates can be modified as desired.
In the options of any task element the creation of a notification can be suppressed.
The state of channels and individual notifications including potential errors, the ability to unlock a channel again after an error occurred and resending notifications is available through the engine cockpit.
Relevant documentation:
Audience
- Operators
- Process Developers
- Users
Value
- Notifications through different channels inform users about relevant events.
Version
Discussion
- Microsoft Teams default template
- Feedback
Next steps
- Make link to task detail page available
- Allow notification template per task element
- Add channel specific config to engine cockpit
- General improvements
Screenshots / Code
ivy.yaml (Configuration)
SecuritySystems:
default:
Notification:
Cleanup:
DaysUntilDeletion: 90
Channels:
web:
Enabled: true
Events:
AllKinds: disabled
Kinds:
- new-task
Engine cockpit - Notification Channels (Configuration)
Engine cockpit - Notification Channel Detail (Configuration)
cms_de.yaml (Template)
Notification:
new-task:
Templates:
mail:
Subject: "New Task '<%= ivy.html.escape(ivy.task.name) %>' for <%= ivy.html.escape(ivy.task.activator().displayName()) %>"
Content: "Hello <%= ivy.session.getSessionUser().getFullName() %><br/>You have this new task: <%= ivy.html.escape(ivy.task.name) %> that has been assigned to: <%= ivy.html.escape(ivy.task.activator().displayName())%>"
Engine cockpit - Notifications (Monitor)
Engine cockpit - Notification Detail (Monitor)