SharePoint 2013 - How To Migrate SharePoint 2010 Style Workflows - Part Four

In the previous article SharePoint 2013 : How to migrate SharePoint 2010 Style Workflows – Part 3 of this series on the Workflow migration Process we saw the execution of Steps 5 & 6 for the process.

In this article we are going to see the execution of Steps 7 & 8 and for the sake of a quick review I am putting up the process diagram again in here.

Process Diagram

1
Step 7 - Destination Site – Provision Workflow Export File

Once we have successfully finished with the deployment of Content Type in Destination Site “Site002” then the next move is to provision the Workflow export file that we have got from “Step 5” earlier

Here we will be using PowerShell Commands to get it deployed. We will be making use of “Add-SPSolution” & “Install-SPSolution” Cmdlets as shown below-

40

And that’s all. We are all done with the export process and now it's  time to finally test it in Destination Site “Site002”

Step 8 - Destination Site – Test Workflow

In order to test the functioning of the Workflow do as follows-

  • Launch SharePoint Designer 2013
  • Connect to Destination Site “Site002”
  • Click on “Workflow” link in the left navigation

There we can see the “CustomerLogs” workflow under “Reusable Workflow” list

41

Now visit “CustomerCT” using Site Settings > Site Content Types

42

  • Click on the Content Type
  • Click on Workflow Settings

43
Click “Add a workflow” link to choose the workflow to associate with the content type

44
From the list of available workflows choose CustomerLogs and give it a logical name of your choice

45

That is how we get the workflow associated with the content type.

46
Now we need to create a list and add this content type to the list as we did earlier

And finally you can create the item based on this content type

47
Add some values and save the item

49

Once the item is created we can start the workflow as shown in the following steps-

Click on Workflows link

50

Start the Log Customers Workflow on the item

51

52

Once completed see the status of the Workflow and the message logged by it in the history log

53

54

And we got the Workflow export process working like a charm.

That is all for this demo.

Hope you find it helpful.

Up Next
    Ebook Download
    View all
    Learn
    View all