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 ACCEPTED SOLUTIONS

Tanushree Maiti
Mega Sage

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 & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

View solution in original post

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

View solution in original post

3 REPLIES 3

Tanushree Maiti
Mega Sage

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 & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

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

samadam
Kilo Sage

Thank you, I did not realize the additional tables needs to be imported. The workflow is not attached as well so I am going to load the data and import in each environment.