Bold text in incident work note - ServiceNow Community

Bold text in incident work note

Sraj1
Giga Contributor

How can i make comment enter by user in incident form bold in work note section?

2 REPLIES 2

Munender Singh
Kilo Sage

Hello Sraj,

 

Please use the <b>tags to make text bold in work notes:

For eg.

incident.work_notes = "Ticket Number " + incident.number + "\n" + "\n" + incident.work_notes.getJournalEntry(-1) + "\n" + [code]<b>"Detailed Description" </b>[/code]+ "\n" + note;

 

Regards,

Munender

 

**Please mark answer as correct/helpful if it works for you.

Pedro Grilo1
Kilo Sage

Hi,

 

Not sure you still need this but probably you can achieve it using the [code] block:

incident.work_notes = "[code]<b>Bold text</b>[/code]";

 

Hope the above helps!

 

Best regards,

Pedro