OBLYTECH Logo
OBLYTECH Logo
Troubleshooting ServiceNow Notifications and Email Handling: A Practical Guide

Troubleshooting ServiceNow Notifications and Email Handling: A Practical Guide

Notification troubleshooting means finding the stage at which a ServiceNow notification stopped before it reached a mailbox. A notification passes through the event, the rule, the recipient, the queue, the mail relay and the delivery, and a failure at any one of them looks the same to the user.

Symptom: Notifications Never Arrive

Diagnosis: Check if the notification is triggered. Log into ServiceNow, navigate to the record (incident, change, etc.) that should have triggered a notification. Check the system logs for errors. Search the Emails list (sys_email) and filter by the record ID, then open the email log entries (syslog_email) on any match and filter by the record ID. Does a log entry exist?

Common causes: Notification rule is inactive or disabled, condition is not met (notification is only sent for high-priority tickets, but your ticket is low-priority), recipient has no email address, or email address is invalid.

Fix: Enable the notification rule, verify the condition is correct, check the recipient’s email address. If the email address is missing, populate it from the user record.

Symptom: Emails Sent But Recipients Do Not Receive Them

Diagnosis: Check if emails are being sent. Enable debug logging for notifications and review the logs. Look for SMTP errors (connection refused, authentication failed, timeout). Check your SMTP relay configuration: is the relay server accessible, is authentication correct?

Common causes: SMTP relay is misconfigured or unreachable, mail server is rejecting emails (full queue, rate limiting), DNS issues (ServiceNow cannot resolve the mail server), or firewall is blocking SMTP traffic.

Fix: Test SMTP connectivity from ServiceNow (System Network Diagnostics, or a test email notification). Verify relay credentials and configuration. Check mail server logs for rejection reasons. Adjust rate limiting if necessary.

Symptom: Emails Are Delayed

Diagnosis: Track the email through the system. Check notification log for the time the notification was triggered, and check mail server logs for when the email was sent to the relay. Calculate the delay at each step.

Common causes: ServiceNow is queuing notifications due to high volume, mail relay is slow or overloaded, or mail server is experiencing delays.

Fix: If ServiceNow queue is full, increase the notification worker processes or add workers. If mail relay is slow, increase capacity or switch to a faster relay. Monitor queue depth and implement backpressure if queues exceed thresholds.

Symptom: Emails Go to Spam or Junk Folder

Diagnosis: Check mail server headers and SPF/DKIM/DMARC records. Emails sent from an unrecognised domain often end up in spam. Review spam filter logs on the recipient’s mail server.

Common causes: Email domain is not authenticated (no SPF, DKIM, or DMARC records), domain reputation is poor, or email content looks like spam (too many links, attachments, certain keywords).

Fix: Set up SPF, DKIM, and DMARC records for your email domain. Use a mail relay that supports these authentication methods. Review email content: avoid suspicious links or keywords. If domain reputation is poor, switch to a different sending domain or improve domain reputation over time.

Symptom: Wrong Recipients Receive Notifications

Diagnosis: Review the notification rule: who should receive this notification? Check the recipient script (if using advanced recipient selection). Verify that user lookups are correct (is the “manager” field correctly populated?). Check for cascading notifications: does notification A trigger notification B?

Common causes: Recipient script is incorrect or has a bug, user field is missing or incorrect, or role-based recipient is too broad (includes unintended users).

Fix: Test the recipient condition against several records and verify the correct recipients are selected. Use the “preview recipients” feature if available. Fix the condition or script to target the correct users.

Symptom: Duplicate Notifications

Diagnosis: Are multiple notification rules triggering on the same event? Check if the same event triggers multiple rules (e.g., both “incident created” and “incident priority changed”). Check if business rules are firing multiple times (e.g., a script that updates the record triggers itself recursively).

Common causes: Multiple rules trigger on overlapping conditions, business rule is recursive, or duplicate events are being generated.

Fix: Review all notification rules and identify overlapping conditions. Consolidate into fewer rules or add exclusion conditions. If a business rule is recursive, add a flag to prevent multiple executions.

Symptom: Notifications for Wrong Records

Diagnosis: Check the notification content. Is the notification inserting the wrong record ID or name? Review the email template: are field references correct? Test by creating a test record and checking the notification content.

Common causes: Email template has incorrect field references, nested table lookups are wrong, or variable scoping is incorrect (showing the wrong record’s data).

Fix: Review the email template and verify all field references are correct. Test the template with test records. Use the “test this notification” feature to preview the output before sending.

Troubleshooting Checklist

  • Is the notification rule active and enabled?
  • Does the notification condition match the record?
  • Does the recipient have a valid email address?
  • Is the SMTP relay configured correctly?
  • Are SPF, DKIM, DMARC records configured?
  • Is email content being generated correctly?
  • Are emails in the mail server queue?
  • Are emails being rejected by the recipient’s mail server?
  • Are emails ending up in spam?
  • Are duplicate notifications being sent?

When a notification problem is reported, the first instinct is to open the rule and start changing things. That habit makes problems harder to diagnose, because each change alters the evidence. A more reliable approach is to decide which stage of the path failed, using the notification concepts as the map of that path, prove it with one controlled message, and only then touch configuration. The sections below set out that order, the evidence each stage leaves behind, and the points where the problem belongs to someone other than the platform administrator.

Locating the stage where the message stopped

A notification passes through a series of stages: the event is raised, the rule matches, the recipient is resolved, the message is generated, the message is queued, the mail relay accepts it, and the recipient’s mail system delivers it. A failure at any stage looks identical from the user’s chair, which is why the report “I did not get it” tells you almost nothing. Work out which stages left a trace, and which did not, before forming a theory. Inbound replies follow their own path, described in the inbound email action concept, and they need their own checks.

Stage Evidence that it ran Where to look Usual owner if it failed
Event raised An event record for the triggering change Event log filtered by the record number Platform administrator
Rule matched A notification log entry or a rule evaluation trace Notification log for the record Platform administrator
Recipient resolved The recipient field on the log entry Recipient field, then the user record it points to Platform administrator, with the data owner for the user record
Queued and sent Outbound mail entry with a status Outbound mail log Platform administrator, or email administrator if the queue is backed up
Accepted by the relay Relay acceptance or rejection in the mail server log Mail relay log, from the email administrator Email administrator
Delivered to the mailbox Delivery or bounce notice Mail system trace or bounce message Email administrator, with the recipient’s mail administrator

Running one controlled message as the test

Once the failing stage is suspected, prove it with a message you control. Create a test record in the same table as the failing one, make the same change that should trigger the notification, and send it to a mailbox you can read. A message that arrives tells you the path works for that content and recipient, and the difference between the test and the real case is now the problem. A message that does not arrive points upstream, and you can check each stage in the table above without the noise of live traffic.

  1. Write down the exact change that should trigger the notification, and the expected recipient.
  2. Reproduce that change on a test record, with a recipient whose mailbox you control.
  3. Check each stage in the table in order, and note the result before moving on.
  4. If the test message arrives, compare its recipient, template and rule with the failing case, and list every difference.
  5. Change one thing at a time, and repeat the test after each change.

Recognizing symptoms that point away from the platform

Some reports look like notification faults and are not. A link in a message that opens a sign-in page is usually a session or access problem, not a template fault. A message that arrives in a recipient’s junk folder points to the domain’s authentication and reputation, which belong to the email administrator. A digest that arrives empty may reflect a filter that excludes records the recipient can no longer see, which is an access question. Route these to the owner early, and where the cause is an access question, the access controls review is the right place to start, rather than spending the platform administrator’s time on a rule that is working correctly.

Keeping a record that makes the next incident faster

Each diagnosis should leave a short note, and the same note should flag the pattern once it recurs: the symptom as reported, the stage that failed, the evidence, the fix and the owner who made it. Over time these notes show which failures recur, which stages are most often the cause and which owners are asked most. That pattern is worth more than any single fix, because it points to the design change that would prevent the next report rather than the one that closes the current ticket.

What if the test message arrives but the real one does not?

Compare the two cases field by field: recipient, record state at the moment of the change, the user’s notification preferences and any condition that differs. The difference is often in the record or the recipient, not in the mail path.

Should a user be asked to check their junk folder first?

Ask for it, but do not stop there. A message in the junk folder is useful evidence, because its headers show how the receiving system judged it. Save a copy and pass it to the email administrator rather than asking the user to find it again.

Can the platform administrator diagnose a mail relay problem alone?

Only the first part. The platform can show that a message was handed to the relay and what status came back. The relay’s own log, and any decision about its configuration, belongs to the email administrator.

How long should a diagnosis stay open?

Until a controlled test passes, or until the owner of the failing stage has confirmed the cause in writing. Closing a ticket on a guess tends to bring the same report back under a new reference.

Next step

A diagnosis that moves from evidence to owner, rather than from rule to rule, is the goal.

Frequently asked questions

How do we test notifications before enabling them in production?

Create test records in a staging environment and verify notifications are sent to a test email address. Review the email content. Test with different conditions to ensure the rule triggers correctly.

What is the maximum email address limit per notification?

This depends on your SMTP relay and your mail server. Most relays can handle notifications to hundreds of recipients, but sending to thousands may require batching.

Should we include links to ServiceNow records in email?

Carefully. Links make emails actionable, but they can trigger spam filters. Use short, trusted links. Consider using authenticated links that log the user in automatically (if supported by your mail security settings).

Talk to Oblytech

Planning, running or fixing a ServiceNow programme? Tell us where you are and we will suggest a sensible next step.

Contact us