- 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:46 AM
Thanks for your reply. But without any modification to any ui action how to move the WF to other instance? I want to move by xml only.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2020 09:47 AM
Hi,
Can you please explain why you want to move without update set?
Is this any client/business requirement.
Recommended way is to use update set
Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2020 08:47 AM
Hi Snehalmadakatti
as per my Knowledge you must have to move the workflow using the update set.
The system tracks workflows in update sets differently than other records because workflow information is stored across multiple tables.
Changes made to a workflow version are not added to the update set until the workflow is published, at which point the entire workflow is added into the update set. Update sets store workflows as a single Workflow [wf_workflow] record and only retain the latest version with the update type of Workflow.
For information about update sets, see System update sets.
if you don't go for an update set there might be the cause that activities may not get capture.
Go to workflow version and select the latest version of your workflow , open the workflow and right-click on the form then select "Export to XML".
Now, go to workflow version in customer dev instance and right-click on list header and select import xml.
https://docs.servicenow.com/bundle/jakarta-servicenow-platform/page/administer/workflow-administrati...
Please Mark Correct and Helpful
Thanks and Regards
Gaurav Shirsat

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2020 08:56 AM
HI,
for export workflow in XML
go to workflow version and select the latest version of your workflow, open the workflow and right-click on the form then select "Export to XML".
Thanks,