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

Changing the font of the additional comments from case to match the email notifications

Kenneth_Zhu
Tera Contributor

Hi there,

 

I am looking to change the font of the ${comment} being printed in the email notifications. I have been writing the email script. 

 

The code i used in the email script is...

 

 

template.print( '<p><span style="color: #000000; font-family:Arial; font-size: 10pt;"><b>'+ current.comments +'</b></span></p>'); 

 

 

However it is not displaying it.  I also want to be able to display the history along with the new posted comment...just like using ${comments} (actually putting that thing in email notification)

 

Any ideas on where i went wrong? 

1 REPLY 1

vermaamit16
Kilo Patron

Hi @Kenneth_Zhu 

 

Please refer below post :

https://www.servicenow.com/community/itsm-forum/need-help-in-formatting-mail-script-font-style-to-be...

 

Thanks and Regards

Amit Verma

Thanks and Regards
Amit Verma