Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Change font color of additional comments for incident

Gowtham29
Tera Expert

 

Hi Everyone,

I want to change the font color of the 'Additional comments' label and it's field value to Green in one particular notification. Pasted the screenshot for your reference. Which i highlighted in the below Post want to appear in Green color. Please help me how to achieve this and Thank you in advance

find_real_file.png

1 ACCEPTED SOLUTION

Devyani_6
Mega Guru

Hi Gowtham,

Please go through below steps:

1. Create notification email script as below:

find_real_file.png

template.print('<p><font size="3" color="#239B56" face="helvetica" >' + gs.getMessage('${comments}')+ '</font></p>');

2. In your notification, call this notification email script as mention below.

find_real_file.png

Please look at the expected below result:

find_real_file.png

Mark Correct/Helpful, based on impact of the response.

Regards,

Devyani

www.dxsherpa.com

View solution in original post

9 REPLIES 9

Please see the attached screenshot for your reference. I want to change the color to blue which i highlighted. Please help

 

find_real_file.png

Devyani_6
Mega Guru

Hi Gowtham,

Please go through below steps:

1. Create notification email script as below:

find_real_file.png

template.print('<p><font size="3" color="#239B56" face="helvetica" >' + gs.getMessage('${comments}')+ '</font></p>');

2. In your notification, call this notification email script as mention below.

find_real_file.png

Please look at the expected below result:

find_real_file.png

Mark Correct/Helpful, based on impact of the response.

Regards,

Devyani

www.dxsherpa.com

Thank you so much for the help Devyani, it is working as expected.

I have tried this, but it does not work for me. The font and size stay the same. What to do?

Harsh Vardhan
Giga Patron

have you checked the thread which i had shared. same answer has mentioned there ?

hit the correct mark or helpful based on the correct and first response.