Notifications
Concept
A Notification is the rule that connects an Event to a Distribution List. When an Event is triggered, the system looks up all active Notifications for that Event, resolves the recipients from each Notification's Distribution List, and delivers the message via the configured Channels.
The flow is:
Event Trigger → Occurrence → Notification → Distribution List → Recipients
The Distribution List defines who receives the notification. The Notification itself defines when (which Event), how (which Channel and Message Templates), and optional filters (payload filtering, dynamic recipient selection).
Create Notification Rule
- Select the event you want to configure in your Events list page ⧉
- From the Event's detail page, click the
Notificationsbutton - The Notifications page lists the existing rules for the event — each row
shows the
Name,Event,Application,PolicyandActivecolumns. The Policy column shows the recipient routing strategy; see Notification Policies for the details of each policy. Click onAddto create a new rule. - On the Add page, the
Generaltab contains theName,EventandEnvironmentsfields. Type the name of the rule and select the Event that triggers it. Optionally restrict the rule to a set of environments. - Open the
Recipients filterstab, select the Distribution List that should receive the information. Tick theActivecheckbox and click onSave and Continue.
Pinned Distribution Lists
If the selected Distribution List is pinned to an Application, the Event's Application must match. Otherwise, the form will display a validation error.
Now that your Notification is ready you can click on the Messages
to create notification message
Configure the Notification filter
The Notification filter tab defines when this notification should be
triggered. Type a YAML document whose values are JMESPath expressions matched
against the incoming event payload. Rules can be combined with the AND, OR
and NOT operators; when the payload does not match, the notification is
skipped.
AND:
- 'severity == "critical"'
- 'status != "resolved"'
For example, the filter above triggers the notification only for payloads
whose severity value is critical and whose status value is not resolved.
Add Extra context
The Extra context tab adds static variables that are available in the
message templates together with the payload provided by the sender. Enter a
JSON object with the values you want to expose:
{"support_email": "support@example.com", "label": "Order service"}
The message templates of this notification can then use {{ support_email }}
and {{ label }} as any other context variable.