This SharePoint workflow tutorial explains, how can we deploy any SharePoint 2013 designer workflow to a different site in SharePoint 2013. You can deploy the workflow to any site within the farm as well as a site on a different farm. SharePoint designer 2013 has the capability to save any kind of Workflow as a template. You will be able to save the workflow as a template for List workflow, reusable workflow or Site workflow which are created by selecting the SharePoint 2013 Workflow platform.
There are three steps, one is to package the workflow or save the workflow as a template, export the workflow and then import that to another SharePoint site.
For this step, we need to make sure we have already created the workflow. You can follow this article to create a reusable workflow using SharePoint designer 2013.
First open your site using SharePoint designer 2013, then from the left side click on Workflows in Site Objects. This will open the Workflows page, where it will display all the workflows presented in the site. Select the particular workflow and then from the Ribbon click on Save as Template button as shown in the fig below:
When you package a workflow, it will save in the form of a Web Solution Package (WSP) file and has a .wsp extension. Once the package is complete it will show a confirmation dialog box saying the template has been saved to Site Assets library. See the fig below:
In this step, go to the Site Asset Library where you have saved the workflow using SharePoint Designer. Then select the particular workflow template and then click on Export File button. This allows you to save the template file to your local machine, from where you can import to the other site. See fig below:
Remember if you want to deploy any workflow in which there are dependencies like list, libraries, columns, content types etc, then make sure that those are presented in the destination site before you deploy the workflow. Also, make sure the name of those dependency elements should be the same in source site and destination site.
Open your SharePoint 2013 site collection in which you want to deploy the workflow. Then go to Site Settings. In the Site Settings page, click on Solutions under Web Designer Galleries.
Then Click on Upload Solution from the Ribbon, it will ask you to browse the wsp file that we have saved in our local drive in the previous step. Browse the file and click on OK. Once the solution got uploaded then Activate the Solution by clicking on the Activate button in the Activate Solution dialog box.
If the workflow solution got activated successfully, the workflow will be available as a feature for all its sites and sub-sites.
Activate Workflow Feature in Sub-Site
To activate the workflow feature in any sub-site, open the site in the browser, go to the Site Settings page and then click on “Manage site features” under Site Actions.
In the Site Features page, search for the Workflow feature and click on Activate. Now the workflow will be available in the destination SharePoint 2013 site.
You may like following SharePoint workflow tutorials:
- Step by step develop workflows using visual studio 2015 as an add-in and deploy to host web in SharePoint online
- SharePoint Online Site Workflow and Initiation Form Parameters example using SharePoint designer workflow
- How to use App Step Nintex Workflow Action in SharePoint Online Office 365
- Assign A Task Action in Nintex Workflow for Office 365 SharePoint online
- App Step in SharePoint 2013 Designer Workflow
- Create Approval workflow in for SharePoint 2013 document library
Hope this SharePoint 2013 workflow tutorial explains step by step tutorial on how to deploy SharePoint 2013 designer workflow to another site collection in SharePoint 2013/Online.
I am Bijay from Odisha, India. Currently working in my own venture TSInfo Technologies in Bangalore, India. I am Microsoft Office Servers and Services (SharePoint) MVP (5 times). I works in SharePoint 2016/2013/2010, SharePoint Online Office 365 etc. Check out My MVP Profile.. I also run popular SharePoint web site SPGuides.com