How do I delete attachments after an incident is closed?

trishlipe
Giga Expert

I am needing to delete a couple of attachments on one of our incidents. When I go to Manage Attachments, the option to delete these is no longer available. I assume it is because the incident is closed. Is there a way to delete these?

1 ACCEPTED SOLUTION

adamjgreenberg
ServiceNow Employee
ServiceNow Employee

You will need to get the sys_id of the incident record and then navigate to the attachment table (this is not an enabled module by default)



Then navigate to - yourinstance.service-now.com/sys_attachment_list.do?sysparm_query=table_sys_id%3D{sys_id of the record)


Screen Shot 2018-01-31 at 8.23.21 AM.png


Check the box and select "delete" - Confirm delete.



Screen Shot 2018-01-31 at 8.24.54 AM.png






Finally, verify the attachment is no longer available from the record.



Screen Shot 2018-01-31 at 8.25.34 AM.png


View solution in original post

6 REPLIES 6

Michael Ritchie
ServiceNow Employee
ServiceNow Employee

Is this a one time thing or something you need to make available permanently?   Once a task is closed many fields become read only and the ability to remove attachments is restricted.   If this is a one time case you can navigate to the sys_attachment table and remove them.



1. First pull up the incident in question, click Additional Actions and choose Copy sys_id


2. In your filter navigator enter in sys_attachment.list and click Enter


3. In the Table sys ID column, paste in the incident sys_id and click enter


4. You should now see the two attachments in question and from there you can check the box beside them and choose the drop down at the bottom to delete them.


adamjgreenberg
ServiceNow Employee
ServiceNow Employee

You will need to get the sys_id of the incident record and then navigate to the attachment table (this is not an enabled module by default)



Then navigate to - yourinstance.service-now.com/sys_attachment_list.do?sysparm_query=table_sys_id%3D{sys_id of the record)


Screen Shot 2018-01-31 at 8.23.21 AM.png


Check the box and select "delete" - Confirm delete.



Screen Shot 2018-01-31 at 8.24.54 AM.png






Finally, verify the attachment is no longer available from the record.



Screen Shot 2018-01-31 at 8.25.34 AM.png