Can we make description bold in workflow activity for task creation using set value?

Karthika13
Giga Contributor

Hi Guys,

 

Can we make description bold in workflow activity for task creation using set value?

 

Regards,

Karthika

1 ACCEPTED SOLUTION

Allen Andreas
Administrator
Administrator

Hi,

Unfortunately, you aren't able to make this text bold as the description field is a string field and you aren't able to add HTML. You could consider creating an HTML field for the task table (sc_task if you're using catalog task) and then in the activity you can assign text there and proper HTML to bold it, but otherwise, you can't bold the text.

Sorry!

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

View solution in original post

5 REPLIES 5

Allen Andreas
Administrator
Administrator

Hi,

Unfortunately, you aren't able to make this text bold as the description field is a string field and you aren't able to add HTML. You could consider creating an HTML field for the task table (sc_task if you're using catalog task) and then in the activity you can assign text there and proper HTML to bold it, but otherwise, you can't bold the text.

Sorry!

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Yash Agrawal1
Tera Guru

Hello Kartikha,

You can not make Text Bold in the Description filed.

As that [code] tags, worked in  Journel fileds only like "Workes notes".

And it may not add any business value.

If you still want description in BOLD Text ,then you need to make description field of HTML type.

Let me know ,if you have any question or

Please Mark it helpful/correct if my answer helps in any way to resolve your query.
Reach out to me if any more help required.

Regards

Yash.K.Agrawal

Hello @karthika

Will you please provide any update on the solution provided, If you have some doubts, please ask.

If it is resolved with the help of the answer suggested, then please mark the answer as COORECT and HELPFUL.

Regards

Yash Agrawal

 

 

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Karthika,

As suggested by Allen this is not possible.

you can use work notes and show bold text inside it

Example below

task.work_notes = '[code]<b>my bold text</b>[/code]';

Regards
Ankur

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