Can we move attachment record thru update set or using any other method

psjajda
Tera Expert

HI,

We have more than 100 records in table with attachments records added to them. Can we move or migrate those records from one instance (Dev) to Test instance except cloning ? If yes let me know how can we achieve it?

Pankaj

13 REPLIES 13

srinivasthelu
Tera Guru

Hi Pankaj,



Have you tried XML import?



The related tables are sys_attachment, sys_attachment_doc



Steps:



Find the right record for the particular attachment you are looking from those tables.


Export to XML


Import them in another instance.



PS: As attachments are added to some base records, the other system also need to have those base records imported to show them in the UI.


srinivasthelu
Tera Guru

Please do not hesitate to ask follow up questions or mark this as answered, once verified 🙂


Sure.


It is 9 month old query and already resolved a long back by using the same solution (as you provided). So just considered as Helpful.


Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hello Pankaj,



You may find the below thread helpful.


SN Pro Tips — Understanding Attachments in ServiceNow