- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I want to upload the entitlement into the Sampro in sub prod instance first. Once the upload is completed and validated, I need to move the same changes to the production instance. Could you please guide me on how to capture these changes in the sub prod instance and the appropriate process to migrate them in ti the production instance?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
ahoy @akguj,
first, login to to the source environment (if moving from DEV to TEST, then DEV is source and TEST is target), locate the table whose records you want to move (e.g. alm_licence or any other table):
https://yourDomainDEV.service-now.com/alm_license_list.do
Apply any conditions (applicable to select only some records, e.g. in particular state, or category) or keep for all (below you can see indicator of how many records will be moved: 77 in my case).
Then click right mouse button to any column label (Asset tag, Model category, Display name, ......) and select Export > XML, select the XML file to your computer.
Then go to the target environment (where you want to move it to), locate the same table:
https://yourDomainTEST.service-now.com/alm_license_list.do
Right mouse click on the column label again and select Import XML (be careful, there's "Import" but you want the "Import XML" !!!!)
Then select the file that you saved in the previous step, and confirm it. Depending on how many records the XML contains it will load it and once loaded, it is all. Nothing else is needed.
Repeat the whole procedure for every table needed
Some notes:
- Better doing this before/after peak hours as it may slow down the environment (it's not good even if test environment gets stuck)
- Ensure that there are no collisions between the source/target table data
- If some records exists in both DEV and TEST environments, you move the XML, no update is done in case they are matching, if they are not matching, then the source (DEV) will overwrite the target (TEST) data
- For that it is better to filter the data before exporting XML (the very first step)
Let me know if this makes sense to you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
ahoy @akguj,
depending on the governance of your platform, it can be moved via import (Load Data) or if Add to Update set utility is enabled, then via update set.
Or it can be moved via xml no matter what.
Regardless which of the 3 methods you will use, you must ensure that all following tables are also exported: [alm_license], [sys_user] and [alm_entitlement_user] and eventually any other custom fields you might have created there..
Important to remember is that eventual references are necessary to be moved as well. So for example if entitlements are associated with users and these users don't exist or have different sys ID in the other instance, it will not be associated correctly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Thanks for the reply. Do you have any video links for this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
ahoy @akguj,
first, login to to the source environment (if moving from DEV to TEST, then DEV is source and TEST is target), locate the table whose records you want to move (e.g. alm_licence or any other table):
https://yourDomainDEV.service-now.com/alm_license_list.do
Apply any conditions (applicable to select only some records, e.g. in particular state, or category) or keep for all (below you can see indicator of how many records will be moved: 77 in my case).
Then click right mouse button to any column label (Asset tag, Model category, Display name, ......) and select Export > XML, select the XML file to your computer.
Then go to the target environment (where you want to move it to), locate the same table:
https://yourDomainTEST.service-now.com/alm_license_list.do
Right mouse click on the column label again and select Import XML (be careful, there's "Import" but you want the "Import XML" !!!!)
Then select the file that you saved in the previous step, and confirm it. Depending on how many records the XML contains it will load it and once loaded, it is all. Nothing else is needed.
Repeat the whole procedure for every table needed
Some notes:
- Better doing this before/after peak hours as it may slow down the environment (it's not good even if test environment gets stuck)
- Ensure that there are no collisions between the source/target table data
- If some records exists in both DEV and TEST environments, you move the XML, no update is done in case they are matching, if they are not matching, then the source (DEV) will overwrite the target (TEST) data
- For that it is better to filter the data before exporting XML (the very first step)
Let me know if this makes sense to you.