Welcome to the third article of the series on JSOM Support for SharePoint 2013 Workflows.
Previous Articles in this Series can be reached at the following URLs:
- SharePoint 2013 : Introduction to Workflow Services API
- SharePoint 2013 : How to Copy Reusable Workflows from one site to another using Deployment Service
In this article we will look into a more obvious issue with SharePoint Designer Workflows, i.e. moving SPD workflows from one list to another within same or a different site.
This article will explain the steps on how to automate the Workflow movements from one location to another.
In order to showcase the scenario, we need to set up the prerequisites and in the next few steps we will work on the same.
We are having a list by the name “Orders” in the Parent Site as shown below:

We will create a workflow in Parent Site [that will be copied to the child site later on], let’s call it “Workflow on Orders in Parent Site” and get it associated with “Orders” List as shown in the steps below:

This is quite a simple Workflow with one step performing Logging Operation.
Once this Workflow Definition is Created and Published, we can get the Workflow ID as shown in the Article 1 of this series.
Here we are all done with configuration on Parent Site.
Now lets move on to the child site, where we have got another List by the name “Workflow Testing” as shown below:

Browse the child site in SharePoint Designer and look for the List ID for “Workflow Testing” List as shown below:

Now look for “Workflow History” and “Workflow Tasks” Lists and verify if they are present and if not we need to create them beforehand.

With this we are all done with setting up the prerequisites for this demo.
Now let take a deep dive in the code base to understand its composition,











Santhakumar MunuswamyPosted May 9, 2016, 11:29 PM
Thank you for nice share
Amit DavePosted May 3, 2016, 10:28 AM
Keep up the Good work!
Humayun Kabir MamunPosted May 3, 2016, 2:41 AM
Nice...
Debasis SahaPosted May 2, 2016, 1:48 PM
Good One..
Sonu ChaudharyPosted May 2, 2016, 5:54 AM
Thanks for sharing
Kuppurasu NagarajPosted May 1, 2016, 12:48 PM
Nice Sharing..
Vignesh ManiPosted May 1, 2016, 9:13 AM
Nice