- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-20-2018 05:38 AM
I need to sync data between 2 prod instances with same sys_id in both the instances.What is the best possible option to do that.
Solved! Go to Solution.
- Labels:
-
Live Feed

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-21-2018 10:08 AM
Hi Nitin,
You can automate this via XML Import sets. Please refer below link with the exact steps that you need to follow in order to automate this. In the last step, you will have a Transform script(mentioned in point no 4 in the below link) which will copy the sys_id of new records from the source to the target instance.
https://docs.servicenow.com/bundle/london-platform-administration/page/administer/import-sets/concept/c_XMLImportSets.html
-Pradeep Sharma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-20-2018 09:41 AM
Hello,
If you need to maintain same SYS IDs, You can perform a clone back from your source to target instance.
If this is just for a single table, then you could export the XML of records and then import at your target instance.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-21-2018 04:45 AM
I used to do this manually right now exporting and importing but i need some ideas regarding automating this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-21-2018 04:55 AM
If users exists on both the instances, then it can be automated via a transform map but if there are new users then you need to manually synchronize them because if you use transform map then it will create a new user with a different SYS ID whereas existing users will be an update on same SYS ID.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-24-2018 10:50 PM
Thanks ...will try using XML import