Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Display Notification name in email via email script

postwick
Giga Expert

I want to include the Notification name in outgoing emails, dynamically so I don't have to hard code it.

Is there a way to get at the Notification name with an email script?

1 ACCEPTED SOLUTION

edwin_munoz
Mega Guru

Hello Paul,



According to the documentation in the email scripts you have access to email_action which contains the GlideRecord for the email notification. Scripting for Email Notifications - ServiceNow Wiki



So it would be:



email_action.name


View solution in original post

5 REPLIES 5

thanks.   i think the part i was missing is that it has be within the template.print(email_action.name);  



I was trying to use it within the context of ${email_action.name} directly on the email notification.