Management Summary field over Incident table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2024 01:44 AM
Hi Friends,
We have encountered an issue with a custom field in ServiceNow incident table. The field name is management summery (u_management_summary).
This is a HTML field, at start this field worked fine but later on an update we had the issue. What ever the information is updated in management Summary the same information will be appearing in notes.
The notes is not displaying the proper format of data, it is displaying the format in HTML. Please see below
Actual field Management Summary :
notes - Activity Management Summary :
How can we identify and rectify the changes
Regards,
Siva Teja B
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2024 03:33 AM
Why would you want the summary to also be visible in the notes?
But check your business rule that copies it to the notes. Does it look like this?
(function executeRule(current, previous /*null when async*/) {
if (current.management_summary.nil() || current.management_summary.changes()) {
var summaryText = new GlideHTMLField(current, 'management_summary').getDisplayValue();
current.comments = "Management Summary Update: " + summaryText + "\n\n" + current.comments;
}
})(current, previous);
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark