Close notes show HTML tagsS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2025 04:22 AM
Hello, mye html tags from my closed notes show up in the activity history. How do i stop this? additional commets works fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2025 04:51 AM
if someone is entering html tags manually while entering from workspace then you cannot control it.
but if you want you can remove the HTML tags using before insert business rule on sys_journal_field table
Condition:
current.name == 'incident' && current.element == 'work_notes'
Script:
current.value = GlideSPScriptable().stripHTML(current.value);
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
03-31-2025 04:53 AM
The close note field is a HTML type, so the user have more ways to edit their text. But the issue is that the text then show up with the html tags. The tags arent manually put in
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2025 06:11 AM
if it's html type then it will have tags in it.
share the field configuration?
I believe in the activity log it will show with html tags.
Is that what your question is?
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
03-31-2025 04:57 AM
Would you mind closing your earlier questions by marking appropriate response as correct?
Members have invested their time and efforts in helping you.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader