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.

Bold a variable in a workflow notification

deneech
Giga Expert

Hello

I am trying to bold current.variables.number_text in my mail script and its not populating. Can someone help?

<mail_script>
template.print('The assigned asset number for:   '+current.variables.asset_description +' is '+current.variables.number_text);
</mail_script>

Click here to view RITM: ${URI_REF}

Mail Script.JPG

Thanks

Denee

1 ACCEPTED SOLUTION

HarshTimes
Kilo Sage

Hi Denee,


From your screenshot it looks like that you have selected the notification content type as plain text. PLease set that to html and then set the bold and try.


find_real_file.png


View solution in original post

13 REPLIES 13

Hello Chuck



We have till the end of this Quarter to upgrade and we are working on that.



Thanks for the update .



Deneee


Content type is field on the form. Personalise to the form layout and add that.


After Eureka the message text field were converted to html fields. Below link may be helpful


http://wiki.servicenow.com/index.php?title=Email_Notifications#gsc.tab=0


Thanks Harshtimes and Chuck.



I was able to get it to work.



Denee


Hello harshtimes



this notification is in a workflow, I don't know where to change it to html