How to Import XML files using data source from one instance to other

deepum
Giga Guru

Hello All,

 

We are in the process of migrating the data from one instance to another, which includes more than 500 xml files. 

How can we achieve this ?Please provide any suggestions.

6 REPLIES 6

@Jaspal Singh Cloning is not an option in our case. else that would been much easier way to do that. 🙂

Vikrant Vashish
Tera Contributor

Hi @deepum ,


Please check the this functionality developed and shared on developer site:


https://developer.servicenow.com/connect.do#!/share/contents/8667315_bulk_upload_xmls?v=1.0&t=PRODUC...

 

In this OOTB function is used to import bulk XMLs from the XML content of the attachments. 
 var updateManager = new GlideUpdateManager2();

 updateManager.loadXML(xmlFromAttachment);


These functions can be used to convert XML strings from 1st instance to XML import in 2nd instance via a Scripted API called from 1st instance.

Thanks!

Vikrant