Removing sensitive information from audit log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-24-2015 01:33 PM
I have a requirement to remove sensitive info from audit log, If there is sensitive information found and removed I want clean up the audit log so it wont be displayed. I have a field to identify if sensitive info is being removed. How can I accomplish this on every record that has this scenario. Every time the flag is checked I want to be able to remove the audit log which is already logged before and the current changes not to be logged. I looked at Edit activity log additional commentsag /record is identified?
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-24-2015 10:34 PM
Yes, you have to write BR on updtae of that sensitive flag. In that BR you should create glide record for the audit history table and query the info which you want to remove.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-25-2015 06:49 PM
Hi Sam,
The below blog should answer your question.
Delete or Update Activity log and Journal Field Entries - ServiceNow Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-29-2015 08:53 AM
Thanks a lot for all the information, I will try it out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-30-2015 10:45 AM
From all the information it seems like the better way to do this is through UI action, If I want to do this in a BR I don't see any easier way to identify which history/activity log needs to be deleted/updated. Any thoughts on if this can be done?
Thanks