In notification emails, how do I call the email recipient user name in the email content

Madankumar N1
Tera Contributor

In notification emails, how do I call the email recipient user name in the email content

1 ACCEPTED SOLUTION

knight202
Kilo Guru

Place ${user_name} in the body of the notification or template.


View solution in original post

12 REPLIES 12

Hi one requirement


I have 50 users in recipient list of notification


User have group   by contact type like internal/ external


Am using link as url1 n url2


When am send the notification


Who is receiving the notification if contact type is internal when clicking on link it has to redirect to url1


If contact type is external it has to redirect to url2


It is not possible to do this from the notification itself because the same email is sent to people of both contact types and the link is static.


You need to forward them to a URL which then looks at the contact type and sends into different places.



ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022

Marco0o1
Tera Sage

Try to use ${mail_script:sc_getUserFirstName} , this work for me.