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.

Email Script: Field to be visible and bold.

Mycena Jane Cam
Tera Contributor

I want the Required Business Case/Reason: field to be visible and in bold font but just the ReqReason is visible. Please help, thanks.

 

My script: 

template.print("<b>Required Business Case/Reason:</b>"+ ReqReason);

MycenaJaneCam_0-1701933915216.png

MycenaJaneCam_1-1701934050689.pngMycenaJaneCam_2-1701934066367.png

 

Spoiler
 
1 ACCEPTED SOLUTION

Hi @Mycena Jane Cam ,

Are you using script in email script right if not use in  email script below both tags should work.
template.print("<b>Required Business Case/Reason:</b>"+ ReqReason);  

template.print("<strong>Required Business Case/Reason:</strong>"+ ReqReason);  

Thanks,

Anand

View solution in original post

4 REPLIES 4

Anand Kumar P
Giga Patron

Hi @Mycena Jane Cam ,


template.print("<strong>Required Business Case/Reason:</strong>"+ ReqReason);  
Mark it as helpful and solution proposed if it serves your purpose

Thanks,

Anand

 

Hi, I tried it but still not working.

Hi @Mycena Jane Cam ,

Are you using script in email script right if not use in  email script below both tags should work.
template.print("<b>Required Business Case/Reason:</b>"+ ReqReason);  

template.print("<strong>Required Business Case/Reason:</strong>"+ ReqReason);  

Thanks,

Anand

Hi, it works now just have trouble saving the script while ago. Thanks.