We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Recover deleted attachments from an Incident record.

MThomas1
Tera Expert

Hello,

 

Situation:

Release  "Y"

Incident - Attachments deleted.

Tech does not have the file name.

How to recover the deleted attachments? 

 

Thank you .

 

2 ACCEPTED SOLUTIONS

Tanushree Maiti
Giga Sage

If  your sys_attachment is audited ( OOB - it is not audited), in that case-

  • Navigate to All > System Definition > Deleted Records.
    Search for the Table SysID of the incident under "Payload" to identify which attachments were attached to it.
  • Open the deleted record that you want to restore.
    Note:
    You can only restore one deleted record and its associated references at a time.
  • Click Restore deleted record.
    A Progress page shows the progress of the restore process, and shows a count of the references restored.
Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

View solution in original post

Ankur Bawiskar
Tera Patron

@MThomas1 

Out of the box sys_attachment and sys_attachment_doc table is not enabled for audit so you can't recover that

once you enable the audit of delete on those 2 tables, then you can try to see if you can recover

💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 10x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

2 REPLIES 2

Tanushree Maiti
Giga Sage

If  your sys_attachment is audited ( OOB - it is not audited), in that case-

  • Navigate to All > System Definition > Deleted Records.
    Search for the Table SysID of the incident under "Payload" to identify which attachments were attached to it.
  • Open the deleted record that you want to restore.
    Note:
    You can only restore one deleted record and its associated references at a time.
  • Click Restore deleted record.
    A Progress page shows the progress of the restore process, and shows a count of the references restored.
Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

Ankur Bawiskar
Tera Patron

@MThomas1 

Out of the box sys_attachment and sys_attachment_doc table is not enabled for audit so you can't recover that

once you enable the audit of delete on those 2 tables, then you can try to see if you can recover

💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 10x ServiceNow MVP  ||  ✨ ServiceNow Community Leader