- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2020 08:07 AM
Hi There,
Can any one help on how to move the workflow from one instance(a) to other instance(b)?
Note: I dont want to move the workflow by updateset and I know as per best practice we should move via updateset but I want solution via xml only.
I have tried to take the xml backup of all the following related tables of workflow and imported to other instance(b) but i am not able to see the workflow in workflow editor. I didnt follow any sequence while uploading the xml's so seems due to this issue is happening. Can anyone suggest on this how to fix...
1.wf_workflow_version
2.wf_stage
3.wf_activity
4.wf_condition
5.wf_transition
6.wf_workflow_instance
I got this list of wf related tables from the post :https://www.servicenowguru.com/graphical-workflow/exporting-graphical-workflows/
Thanks in advance.
Regards,
Snehal M
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2020 08:52 AM
Ok, the table for that is "sys_variable_value".
Once data of this table is migrated scripts will appear.
Raghav
MVP 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2020 08:23 AM
In these 6 tables, i think the main table wf_workflow is missing.
The order should not be a problem as the records will be related on basis of sys_id.
After migrating records from wf_workflow table, it should be visible in workflow editor.
Also check for domain, if you have domain separated instance.
Raghav
MVP 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2020 08:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2020 08:52 AM
Ok, the table for that is "sys_variable_value".
Once data of this table is migrated scripts will appear.
Raghav
MVP 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2020 01:20 AM
Hi Raghav,
It worked. I imported xml of 'sys_variable_value' and now i can see the scripts in the activities.
Thank You so much!..You are Awsome..
Regards,
Snehal