Email Notifications
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2025 02:26 AM
Hi,
I have a requirement that in incident table if both Assigned to and caller is same user , the user name will reflect 2 times in the email body but now I need to restict that in the email body. If both the users are same, the user name should display only once in the email body.
Any idea how to do this requirement for notification. I am using backend filed names to display assigned to and caller like ${assigned_to} ${caller_id} in the body of the email.
Thanks
Rashmi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2025 07:11 AM
You will need to create a Notification Email Script. For example:
If the script is named "Test_Script", it can be called in the notification by using ${mail_script:Test_Script}.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2025 07:15 AM
You cannot do this without scripting i.e. email script
Script shared by @Jordan Vignoni will work for you.
But curious to know why will same person who raised the INC will work on it?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader