Importing RITMS/Requests did not copy over variables

samadam
Kilo Sage

I have to import around 100 records into DEV and create a specific catalog item request. I created them through Transform map and works in DEV. I tried to import Requests and associated RITMS separately into TEST but variables did not copy over nor did the workflow is attached. IS there a way to fix this?

2 REPLIES 2

Tanushree Maiti
Tera Guru

You need the variable values as well for the related RITMs. So you need to migrate the xmls from below two 

sc_item_option_mtom

sc_item_option

 

By sys_id of your RITM you can search the data. To get sys_id of your 100 RITM , you just run a fix script.

 

For sample code you can refer:

Solved: How to export the variables of specific RITMs in X... - ServiceNow Community


Please mark this response as helpful and hit Like if it assisted you with your question.


Thanks,
Tanushree
Certified Technical Architect | 9xCIS

Ankur Bawiskar
Tera Patron

@samadam 

but why to import in DEV?

how did you import REQ and RITMs?

variable information is stored in other tables "sc_item_option_mtom" and "sc_item_option"

So you will have to import those as well

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader