Data removal - Finding the logs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā10-23-2024 07:44 AM
I have removed the demo data from my PDI by clicking on Remove Demo Data. I can see it in the system logs. But there what all records from what all tables are not showing.But I want to see what all records got deleted without using system logs . So how to do it ? Is there any better way for this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā10-23-2024 07:45 AM
You can try the 'Deleted Records' module in the navigation menu.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā10-23-2024 08:05 AM
Hi @NishaB !
Not all table record deletions are logged.
Deletions of tables with the attribute no_audit_delete=true will not be logged in the audit log.
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1639238
https://<InstanceName>.service-now.com/sys_dictionary_list.do?sysparm_query=attributesLIKEno_audit_d...
In addition, there is a system property that specifies which tables are not subject to delete audits.
https://docs.servicenow.com/csh?topicname=r_AvailableSystemProperties.html&version=latest
Incidentally, why would I want to see audit records of all demo data deletions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā10-23-2024 08:47 AM
I also want what all objects from each table are deleted. Is there any way for this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā10-23-2024 09:05 AM
To delete all records from a table, execute the āDelete All Recordsā UI Action from the table definition.
https://docs.servicenow.com/csh?topicname=t_DeleteAllRecordsFromATable.html&version=latest