Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Need to migrate 300 catalog items with flows from one instance to another instance.

jnfjn
Tera Contributor

In Servicenow, there are 300 catalog items. Those needs to be migrated from one servicenow instance to another servicenow instance. There are flow designers connected to 300 catalog items individually. How to move complete catalog items and flows from one instance to another instance in a simplest way. we cannot do it using update sets as we cannot capture all 300 items in update sets. it is a difficult way. Give a simplest approach?

2 REPLIES 2

Tanushree Maiti
Kilo Patron

Hi @jnfjn 

 

Update Set is the best option to migrate these 300 in bulk . If you want , you can do phase wise like

100x3 or 50x60 ,so that in target instance - proper testing can take place.

 

Process:

1. Create a Update set

2. Navigate to the sc_cat_item.list list (Maintain Item), filter the 300 items, and use the "Add to Update Set" UI action to include them

3.  Ensure all Catalog Client Scripts, Catalog UI Policies, and Variables ,variable Set are included in the update set.

4. Do some minor change in Flows/workflow and Publish it in new update set.

5. Sometimes we use link xls file and use that link in Catalog's description. If you have any make sure you are copying it from sys_attachment

 

Assumption:

1. Assumption is that same SLA definition available in target instance. Else post migrate , you have manually update duration for Catalog task .

 

Must Considerations:
  •  Check for hardcoded sys_id or references to data that may not exist in the target instance (e.g., users, groups).
  • After committing, verify that the flow triggers are properly linked to the catalog items
Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

Vishal Jaswal
Giga Sage

Hello @jnfjn 

1. For catalog items - You need to identify all such table which have catalog item (sc_cat_item), it's variables (item_option_new), variable set (io_set_item) etc.

2. For Flow - You need to identify all such flows (sys_hub_flow) associated with these catalog itemsall tables for it's actions(sys_hub_action_type_definition), subflows etc.

3. You need to view the xml via Show XML (in the table list view) to validate that xml contains all the required information or not.

Once identified then in such tables list view, you can select multiple records and make a right click on any of the column and click Export to xml.

In the desitnation instance, go to same tables, take bacup (excel and xml) and then import such exported xml files.


Hope that helps!