Notifications

ShariqhM
Tera Contributor

Hii everyone,
How do i identify these in any notification record and i need to find the trigger logic, Recipent, Subject line,
message body in a notification record.

 

Tigger Logic
Recipient
Subject Line
Message Body


Thanks & r

10 REPLIES 10

Tanushree Maiti
Tera Patron

Hi @ShariqhM 

 

  1. Trigger Logic
    Found under the When to send tab of the Notification record, this section defines the conditions that determine when an email is sent.
  • Record Inserted or Updated: The notification is triggered based on conditions configured in the condition builder (for example, when the State changes to Closed).
  • Event is fired: The notification is tied to a specific event. The associated Event Name is displayed here. To identify what initiates the event, search for the event in the Event Registry and review Business Rules or Script Includes that use gs.eventQueue().

e.g 

TanushreeMaiti_0-1780587244084.png

 

  1. Recipient
    Located in the Who will receive tab, this section specifies the email recipients.
  • Recipients can be defined as individual users, groups, or record fields such as Caller or Assigned To.
  • Pay attention to options such as Event parm 1 contains recipient, which allows the recipient to be dynamically passed through the script that triggers the notification.

e.g

TanushreeMaiti_1-1780587285997.png

 

  1. Subject Line
    Available in the What it will contain tab, this field controls the subject of the email.
  • The subject text is configured directly above the message body.
  • Dynamic values can be included using dot-walking placeholders (for example, ${number} - ${short_description}), enabling information from the related record to be inserted automatically.

e.g 

TanushreeMaiti_2-1780587324594.png

 

  1. Message Body
    Also found in the What it will contain tab, this section contains the email content itself.
  • The body can be written in HTML, plain text, or leverage notification templates.
  • Dynamic content may be inserted through variables such as ${description} or mail scripts like ${mail_script:script_name}, which can generate and inject more complex data into the email.

e.g 

TanushreeMaiti_3-1780587449626.png

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti