Moving a service catalog variable from prod to test

DevtoSME
Giga Guru

I have a variable that needs t be configured that's only n production and I want to move it to test to change the options. I exported the variable but I'm not sure where on the catalog item I can import this data? Where and how can this be achieved?

1 ACCEPTED SOLUTION

Saurav11
Kilo Patron
Kilo Patron

Hello,

 

Though I find this very weird that a variable exists on PROD and not on Test because as per best practice we should always make sure we develop anything in non-prod before pushing to PROD.

 

Coming to your question so once you have exported the variable(I assume you have already done this step),  open the  catalog item on which you want to import it.

 

Then go to the related list and check the variable tab:-

 

Saurav11_0-1696617150159.png

 

Then right click on the filter and click open in new window:-

Saurav11_1-1696617193971.png

 

Then once the list opens in new window right click on the column and select import xml(I assume you have exported it in xml)

 

Saurav11_2-1696617259854.png

 

Then you will have the variable available on test.

Please mark my answer as correct based on Impact.

 

View solution in original post

2 REPLIES 2

Saurav11
Kilo Patron
Kilo Patron

Hello,

 

Though I find this very weird that a variable exists on PROD and not on Test because as per best practice we should always make sure we develop anything in non-prod before pushing to PROD.

 

Coming to your question so once you have exported the variable(I assume you have already done this step),  open the  catalog item on which you want to import it.

 

Then go to the related list and check the variable tab:-

 

Saurav11_0-1696617150159.png

 

Then right click on the filter and click open in new window:-

Saurav11_1-1696617193971.png

 

Then once the list opens in new window right click on the column and select import xml(I assume you have exported it in xml)

 

Saurav11_2-1696617259854.png

 

Then you will have the variable available on test.

Please mark my answer as correct based on Impact.

 

Danish Bhairag2
Tera Sage
Tera Sage

Hi @DevtoSME ,

 

Go to this table "item_option_new" & import the XML of that record on this table. Then navigate to your relevant catalog item & check if that variable is present or not & make the necessary changes as per your requirement.

 

Note : This is not a best practice of creating records directly in Production

 

Mark my answer helpful & accepted if it helps you fulfill your requirement.

 

Thanks,

Danish