How to check for deleted records

bonsai
Mega Sage

When a record is deleted, some are recorded in the "sys_audit_delete" table and some are not.

Is it possible to restore deleted records that are not recorded in the "sys_audit_delete" table?

I'm looking for a way to restore attachment records after they've been deleted.

8 REPLIES 8

YOu can definitely customise to see what was deleted or added for particular with BR. Something like this - https://www.servicenow.com/community/in-other-news/attachment-logging-auditing-where-did-that-attach...

Juhi Poddar
Kilo Patron

Hello @bonsai 

It is not possible to restore deleted records if they are not recorded in the sys_audit_delete table, as no log or backup is maintained for such records within ServiceNow.

 

"If you found my answer helpful, please like and mark it as an "accepted solution". It helps future readers to locate the solution easily and supports the community!"

 

Thank You
Juhi Poddar

maheshkhatal
Mega Sage

Hi @bonsai ,

       Unfortunately you cannot restore the deleted records which were not audited for. We had this requirement in customization where on the table we set audit as true only then those records will be set for restoration once deleted.  The article that you have shared is the correct one.

Another way that I would suggest is to have UI action to capture those deleted records.

Pease mark my response as helpful if it resolves your doubt.

Thanks,

Mahesh,

 

Hello Bonsai,

 

Have you tried checking the System Definition > Deleted Records? You can search for the record by its number, table, or the date range when it was deleted. The audit history of deleted records from certain tables allows for restoration within 30 days, depending on the table. Please note, you need an admin role to recover deleted records.

 

Best Regards,

Dee Kaur