- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2025 04:04 AM - edited 07-17-2025 06:09 AM
We have around 3000 RITMs but I need to move only 500 RITMs from one SN to another SN instance (including the variables and its values for 500 RITMs)
I used a filter to export those 500 RITM via XML and imported in target instance but the variables section did not show up on the RITM, and I understand the reason - that the variable data sits in different table which is sc_item_option.
Hence, I went to sc_item_option table to export the XMLs but problem is that, I couldnt find a way to use the filter on this table.. something like 'RITM is one of <1,2,3..500>' on this table.
Anyone knows how to export the variables and its values from sc_item_option table for those specific 500 RITMs?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2025 06:26 AM
Hi @Suggy ,
yes run the script in the source instance
you will get the sysids of the those variable and value records
goto those tables and filter the records using sysid is one of {out put sysids}
and then export them as xmls
do the same with sc_item_option_mtom
Please mark my answer as helpful/correct if it resolves your query.
Regards,
Chaitanya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2025 04:28 AM
@Suggy it didn't enter everything:
- sc_cat_item
- sc_cat_item
- item_option_new_set
- sc_item_option_mtom v
- sys_ui_policy
- sys_ui_policy_action
- categories and user criteria!
/* If my response wasn’t a total disaster ↙️ ⭐ drop a Kudos or Accept as Solution ✅ ↘️ Cheers! */
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2025 04:29 AM
@Suggy don't you maybe have a chance to move it by cloning? if it is from dev to test, it would be maybe easier and preventing losing data.
If it is also big amount of data you can ask ServiceNow in HI Case for assistance.
/* If my response wasn’t a total disaster ↙️ ⭐ drop a Kudos or Accept as Solution ✅ ↘️ Cheers! */
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2025 05:22 AM
@GlideFather @Shraddha Kadam @J Siva @Chaitanya ILCR I am so sorry for not being clear. I have updated my question properly now. If you know the answer, please do let me know. thanks in advance 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2025 05:35 AM
Hello @Suggy ,
I believe you want the variable values as well for the related RITMs. Hence also you need to migrate the xmls of the below two table which I earlier mentioned-
sc_item_option_mtom.LIST
sc_item_option.LIST
Fo through this table you will get the better idea
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2025 06:10 AM
@Shraddha Kadam but how to use the filter for those 500 RITMs on sc_item_option.LIST table?