We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Unable to get mail script values into email

madhuravath
Kilo Contributor

Hi All,

 

I wrote email script to pick the values from system property and display it in email notification. But I am unable to see the email script values in the email.

 

Attached are the email script and notification images. Kindly assist me here

 

Thank you

 

1 REPLY 1

Ankur Bawiskar
Tera Patron

@madhuravath 

you are just getting the value but not printing it

use this to print in email script and then it will show

template.print(DataImport);

If my response helped please mark it correct and close the thread so that it benefits future readers.

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