We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Recover deleted attachments from an Incident record.

MThomas1
Kilo Guru

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
Tera Patron

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 Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

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
Tera Patron

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 Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

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