How to handle html entities
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2024 10:11 AM - edited 01-25-2024 02:26 AM
In the below ServiceNow script business rule if emailbody contains any HTML entities then it needs to be converted to corresponding original characters how?
var emailbody = current.u_email_body;
i.e : like for @ I am getting value as @ in emailbody going forward in script i need to convert so it should be @
like this it should handle all HTML entities dynamically how?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2024 10:21 AM
@jobin1 Please refer to this post and see if it helps https://www.servicenow.com/community/developer-forum/how-to-convert-html-to-plain-text-in-a-ui-actio....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2024 09:39 AM
nop any other solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2024 12:37 AM