Notifications
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @ShariqhM
- 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
- 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
- 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
- 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
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
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti