SimonMorris
ServiceNow Employee
Options
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
‎05-11-2012
02:11 AM
It was bound to happen sooner or later... you are diligently updating your Incident, you hit Submit and then realise you were writing in the Comments field rather than the Worknotes
D'oh
Comments are visible to customers, Work Notes are visible internally. Whilst we are all far too professional to write anything snarky about our customers in the WorkNotes you might sometimes annotate information that is better kept internal.
If one of your ITIL users accidentally updates the Comments instead of WorkNotes don't panic.. Here is how to fix it
1. Get the sys_id of the record that was accidentally updated. Right click the form header and Copy sys_id
2. Head over to the sys_journal_field table. We don't show this in the Application Navigator by default so type sys_journal_field.list into the Filter Text.
3. From there you can build a filter to find the journal entry you want to edit (or delete)
Using the Element ID field (the sys_id you copied just now) and the Created By date it should be easy to find the right entry.
You could either edit the Element field to change the entry to a WorkNote (rather than a comment) or delete it.
4. If you have a lot of records with a lot of journal entries you might find this easier to do in Background Scripts
var gr = new GlideRecord('sys_journal_field');
gr.addQuery('element', 'comments');
gr.addQuery('element_id', '46f09e75a9fe198100f4ffd8d366d17b'); // sys_id of the Incident record
gr.query();
while (gr.next() ) {
gs.print("sys_id=" + gr.sys_id + " comment=" + gr.value);
}
// When you are happy use gr.get('sys_id_of_journal_entry') and change the element to make it a worknote
Image Credit
2 Comments
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.