Need to move RITMs from one instance to another and their respective workflows(with different sysid)

MaradaniR
Tera Contributor

HI All,

 

As a part of transformation, we are migrating all the data from one instance to another instance. We have challenges in moving the workflow context and their activities for the existing RITM's as the sysid's of the workflows and sysids of the service catalogs in both the instances are different. Can anyone please suggest how we can move the Opened RITM data with closing and recreating them again

1 REPLY 1

folusho
Tera Guru

@MaradaniR 

 

By "migrating" i would assume you do not mean clone from one instance to another. IF this is correct, then I would do as follows:

  1. Export Open RITMs: Use a data source or transform map to export fields like:

    • number, requested_for, opened_by, cat_item, variables, etc.

    • Exclude fields tied to runtime states like state, wf_context

  2. Match Catalog Items:

    • On target instance, map catalog items (by name or external ID) to the correct target sys_ids.

    • Do not copy sys_ids.

  3. Recreate RITMs:

    • Insert new RITM records via transform or import set in target instance.

    • Re-trigger workflows (startFlow or Flow Designer) using startFlow(current) in a business rule or post-import script.