Sync data in sys_user table between multiple prod instances

Nitin Duggal2
Tera Contributor

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.

1 ACCEPTED SOLUTION

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

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

View solution in original post

15 REPLIES 15

You can refer to link provided by Pradeep. it explains all steps involved.

The above link contains the manual steps we can do , i want to automate these steps while keeping the sys_id same in both the instance.

 

Thanks @Rahul

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

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