How to make bold letters in body of the notification message.

Community Alums
Not applicable

Hi All,

In my first run script activity have a scratchpad variable(workflow.scratchpad.msgFinal) where i am storing a result. Please refer below

find_real_file.png

After this run script activity i have a notification activity where i am printing the scratch pad variable in body of the mail. And it should be look like below. Bold & Underline. I have used <b> tag and <u> tag in runscript. But am not getting bold and underline format. 

find_real_file.png

Is this can be achievable only by notification script? 

Regards,

Sirraj

1 ACCEPTED SOLUTION

yahh , tested it can be used, <b> and <u>  can be set using run script activity as well.

lets do one thing, would it be possible if you can break your string and hardcord some text and see if its setting correctly format or not. 

 

View solution in original post

19 REPLIES 19

Hi,

So you are not using any event to trigger email. Just notification activity in workflow you are using to trigger

Regards
Ankur

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

you can write email script as well instead of run script activity, formatting would done on email script. 

may i know what stopping you to use email script here ? any challenges are you facing in email script  ? because that way it will be more simple, 

 

 

Note: i dont think scratchpad can be used in notification

Community Alums
Not applicable

Hi Harshvardhan,

I have replied to ankur. Please see the above response and advise me.

 

Thanks & Regards,

Sirraj

i doubt workflow.scratchpad can be used  in notification activity.