Notifications
Summarize
Summary of Notifications
After defining your data model and enabling user interaction with your application, configure notifications to effectively communicate important events to users. Notifications help alert users, share information via the knowledge base, and support multiple languages through translations. The ServiceNow AI Platform supports notifications via email, SMS text messages, and push notifications.
Show less
Notification Triggers
Notifications can be triggered either by table updates or by specific events:
- Event-driven notifications: Use when notification conditions are complex or when notifications originate from workflows or flows. Events enable easier debugging and more precise control.
- Table update triggers: Suitable for simpler notification conditions based directly on data changes.
For simple use cases, leverage the Notification activity in workflows or Send an email action in Flow Designer. For complex or critical notifications, trigger events from workflows or flows and configure notifications to respond to those events.
Notification Content
Notifications support both static and dynamic content through email templates, email scripts, and notification variables:
- Notification variables: Insert dynamic data such as field values from the base or related records using dot-walking, without scripting.
- Email scripts: Use for dynamic content not available via variables. Always create scripts under System Notifications and reference them properly to ensure functionality.
- Email templates: Create reusable subject lines and message bodies for consistent notification formatting.
Configuring Recipients
Notifications can be sent to users, groups, or individual email addresses:
- When sending to groups, enabling the “Include members” option sends the notification to all group members as well as the group email address.
- Subscription-based notifications allow recipients to select which notifications they want to receive. The “Mandatory” setting overrides these preferences to ensure delivery.
- Unsubscribe links can be included in emails to allow users to opt out.
ServiceNow automatically includes email watermarks to track user responses unless explicitly omitted. Omit watermarks only if no response is expected from recipients.
Troubleshooting
For common notification issues, refer to the “Troubleshooting Outbound Email” knowledge base article available through the ServiceNow HI portal.
After the data model is defined and users are able to interact with the application, determine how the application should communicate with users. Configure notifications to alert users to important application related events, share application information in the knowledge base, and add translations to allow users to interact with the application in their native language.
The ServiceNow AI Platform can notify users by email, SMS text message, or push notifications.
Triggers: Event Driven Notifications vs Table Updates
Configure notifications to trigger based on updates to a table or based on an event. Use event-based triggering when triggering requirements cannot be easily implemented in the notification conditions or when the notification is triggered from a Workflow. Creating specific events also enables easier notification debugging.
Use the Notification activity in a workflow or the Send an email action in Flow Designer for simple notification use cases. For complex or critical notifications, trigger an event from a workflow or a Flow Designer flow and configure a notification to fire off that event.
Notification Content
ServiceNow notifications support static and dynamic content using email templates, email scripts, and notification variables.
Notification variables add dynamic information to the body of a notification, such as field values from the base record. The variables also support dot-walking, which allows field values from any related records to be included in the content without scripting.
For example, use the URI_REF variable to point to the record that originated the email.
Use email scripts or dot-walk from the base record to include dynamic content that is not available in the record. Use the mail script API to set notification details, such as the recipient and sender addresses, etc.
Create email templates for content used in multiple notifications. Adding the content to an email template enables administrators to create reusable content for the subject line and message body of email notifications.
Configure recipients
ServiceNow emails can be sent to users, groups, or individual email addresses. When sending to groups, check the Include members field on the group record for the notification to be sent to all members of the group in addition to the group email.
Subscription-based notifications - Select the Subscribable option on the notification to allow recipients to pick and choose the emails they want to receive.
For a subscription-based notification, the Mandatory option can be set to true for the recipients to receive the notification regardless of their individual preferences. Optionally, configure unsubscribe links in the outgoing email to allow users to remove themselves from the notification.
ServiceNow uses email watermarks to correctly process user responses to notifications. Email notifications automatically include watermarks unless the Omit watermark option is selected in the notification. Omit watermarks only when no email response is expected from the recipients.
The Troubleshooting Outbound Email knowledge base article provides troubleshooting steps for the most common notification issues. Log in to the HI portal (https://hi.service-now.com) to access the article.