- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2024 12:50 AM - edited 12-10-2024 10:50 PM
Modifications in the Journal Entries table do not apply.
How do I modify comments in RITM?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2024 12:56 AM
Hi @BoHyun Jung
Follow thread it will be helpful:-
Please mark reply as Helpful/Correct, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2024 12:54 AM
Hi @BoHyun Jung
Once an entry made in comments / work notes it cant be edited ro I must say not a good practice. It is against the audit policies.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2024 12:54 AM
The activity log works based on history data for some reason.
So you'll have to modify the journal entry, sys_audit and sys_history_line records.
Easiest way is to modify journal entry and audit and then delete the sys_history_set related to your ritm record.
The history set is always recreated when viewing the record. Note that if you have a domain separated instance, then each separate domain view generates its own sys_history_set

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2024 12:56 AM
Hi @BoHyun Jung
Follow thread it will be helpful:-
Please mark reply as Helpful/Correct, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2024 12:58 AM
Not sure where I got it from, but years ago, I found an article describing it and I copied it to make sure I had it when needed:
Description
Sometimes a comment or a work note containing sensitive information needs to be edited or deleted from a record.
Resolution
The following steps explain how to locate the journal entry in the [sys_journal_field] table and the audit entry in the [sys_audit] table.
Warning: Please note that attempting to view the entire [sys_audit] table may retrieve a large number of records and can seriously affect instance performance during the query.
Right-click on the record and select Copy URL to Clipboard to obtain the unique sys_id of the record. For example: https://<instance name>service-now.com/nav_to.do?uri=incident.do?sys_id=85befb1c4a34bb12013b216a9fd5fee8
Copy the sys_id. In the URL example above, the sys_id is: 85befb1c4a34bb12013b216a9fd5fee8.
Update the Journal Entry:
Enter the journal entry URL + the sys_id. For example: https://<instance name>.service-now.com/sys_journal_field_list.do?sysparm_query=element_id=85befb1c4a34bb12013b216a9fd5fee8
Locate the journal entry.
Modify the record and update or delete the record.
Update the Audit Entry:
Enter the audit entry URL + the sys_id. For example: https://<instance name>.service-now.com/sys_audit_list.do?sysparm_query=documentkey=85befb1c4a34bb12013b216a9fd5fee8
Locate the audit entry.
Modify the record and update or delete the record.
Rebuild the History Set. This is only required when you do not use direct auditing and the System Property [glide.sys.activity_using_audit_direct] is set to false (= default value (this is the value used if the System Property does not exist on the instance).
Locate all History Set records for the item whose history needs to be rebuilt by entering the history set URL + the sys_id. For example: https://<instance name>.service-now.com/sys_history_set_list.do?sysparm_query=id=85befb1c4a34bb12013b216a9fd5fee8
Click the Delete button for each History Set. This will delete the History Set, not the audit data. The History Set will be rebuilt with the corrected audit and journal information as soon as a user views the item.
Update the Email Entry:
Enter the email entry URL + the sys_id. For example: https://<instance name>.service-now.com/sys_email_list.do?sysparm_query=instance=85befb1c4a34bb12013b216a9fd5fee8
Locate the email entry.
Modify the record and update or delete the record.
Additional Information
If history rebuilding is not possible on a record, it's likely that the reference is broken. While modifying a comment you shouldn't delete the old one, instead the modification should be done in both sys_journal_field and sys_audit table against the same record. Then, you need to build the sys_history_set again to load the new updated comment in the record.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark