{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":22190,"path":"integrate-applications/system-import-sets/c_XMLImportSets.md","title":"Using XML import sets","bundle":null,"doc_type":null,"release":"australia","body":"\n# Using XML import sets\n\nUse an XML import set to import data from another instance.\n\nThis method allows you to:\n\n-   Apply business rules\n-   Transform incoming data\n-   Reconcile sys\\_id values if necessary\n\n**Note:** Administrators cannot set the **update\\_synch** attribute in Dictionary records to move data as part of update sets. This attribute was being used incorrectly to migrate data in large tables and was causing significant performance problems.\n\n1.  [Create an XML data source to another instance](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/system-import-sets/t_CreateADataSource.md)  \nData sources are used to create an import set so that data can be processed, if necessary, prior to being mapped onto a production table.\n2.  [Create a transform map](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/system-import-sets/t_CreateATransformMap.md)  \nA transform map is a set of field maps that determine the relationships between fields in an import set and fields in an existing ServiceNow table, such as Incidents \\[incident\\] or Users \\[sys\\_user\\].\n3.  [Add onBefore scripts to the transform map](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/system-import-sets/t_AddOnBeforeScriptToTransformMap.md)  \nCreate one onBefore transform map script to copy the sys\\_id of new records from the source to the target instance. Create a second onBefore transform map script to identify records on the target instance that have the same unique values but different sys\\_id values.\n\n**Parent Topic:**[Importing from another ServiceNow instance](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/system-import-sets/c_ImportingFromAnotherSNInstance.md)\n\n"}}