Email Notifications

rashmin3
Tera Contributor

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

2 REPLIES 2

Jordan Vignoni
Tera Guru

You will need to create a Notification Email Script.  For example:

Screenshot 2025-04-03 at 10.06.54 AM.png

If the script is named "Test_Script", it can be called in the notification by using ${mail_script:Test_Script}.




Ankur Bawiskar
Tera Patron
Tera Patron

@rashmin3 

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.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader