Can we Change the Work notes and Comments to rich Text
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-14-2025 04:02 AM
i mean like this will it be possible , if so please help me with it ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-14-2025 04:06 AM
those are journal fields and data for it is stored in "sys_journal_field" table
Remember work_notes and comments can render HTML content in it by using [code] [/code] tags
Although technically you can change the field type but I won't recommend
Instead do this
1) create a custom field of type HTML
2) add that on form
3) then use before insert/update business rule to copy value from that HTML field to work_notes or comments and clear the new field
(function executeRule(current, previous /*null when async*/) {
current.comments = '[code]' + current.getValue('myField') + '[/code]';
current.u_notes = '';
})(current, previous);
This might not work fine with POST button on UI
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-12-2025 01:57 AM
@Ankur Bawiskar Hello, Is there a way we can provide Post button for the same?
we have a requirement to add Post button for Rich worknotes.
Thanks in advance!
Pooja
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-12-2025 02:02 AM
post button only available for journal type fields.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader