I had to migrate a SharePoint Designer 2013 workflow to an environment. The workflow was exported to visio as a .vwi file. Unfortunately when the I tried to import the file using the “Import as visio” option from SharePoint Designer, the message was appearing
“This workflow cannot be imported because it was created in SharePoint Designer for a different site, or the original workflow has been moved or deleted.”
Solution:
Ref: https://aniketahmed.wordpress.com/2013/08/02/305/
“This workflow cannot be imported because it was created in SharePoint Designer for a different site, or the original workflow has been moved or deleted.”
Solution:
- Open the site you want to copy the workflow from and click Workflows under Site Objects from the left navigation
- Select the workflow and click Export to Visio from the designer ribbon to save the file
- Change the extension of the exported workflow from .vwi to .zip
- Open the .zip file and remove workflow.xoml.wfconfig.xml file
- Rename .zip file back to .vwi
- From SharePoint Designer 2013, open the site where the workflow will be migrated
- Click on Workflows tab
- Click Import from Visio and browse to select the file and click Next
- If the workflow is a reusable workflow, pick the reusable workflow option else if the workflow is a list workflow , pick the “List Workflow” option and select the list.
- Click Save.
- Click Publish to make the workflow available to the site
Ref: https://aniketahmed.wordpress.com/2013/08/02/305/
No comments:
Post a Comment