Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Is it possible to bold text for requested for in work notes through workflow run script

AnilM99
Tera Expert

Hi Team,

is there any why to bold text for this - current.request.requested_for.getDisplayValue();

current.work_notes = "This request is created behalf: " + current.request.requested_for.getDisplayValue();

 

Please help me on the same.

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron

Hi,

try this

current.work_notes = "This request is created behalf: " + "[code]<b>" + current.request.requested_for.getDisplayValue() + "</b>[/code]";

regards
Ankur

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

View solution in original post

2 REPLIES 2

Ankur Bawiskar
Tera Patron

Hi,

try this

current.work_notes = "This request is created behalf: " + "[code]<b>" + current.request.requested_for.getDisplayValue() + "</b>[/code]";

regards
Ankur

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

Mohith Devatte
Tera Sage

HelloAnil you can do this using code tag like below 

current.work_notes = "[code]This request is created behalf: " +"<b>"+ current.request.requested_for.getDisplayValue()+"</b>[/code]";