Contents
We are facing similar issue, where we want to use existing copylist item workflow from SP2010 to SharePoint 2013 after upgrade, however in my case copylist item workflow is copying calendar entries from one Sharepoint calendar to another sharePoint calendar after some updates. Will this behavior be available in 2013?
How to create a workflow in SharePoint Designer 2013?
Open SharePoint Designer 2013 and Click on workflow from the side navigation bar and then click on List Workflow from the ribbon to add the WorkFlow to “Masterdoclibrary”. Provide Workflow Name and Description here we have given as “CreateCompletedtasklist” and choose platform as SharePoint 2013 Workflow, then click on “OK “to create the Workflow
SharePoint designer workflow copy document from a library to the library SharePoint 2013 workflow copy document to another site Click on “Action” then from the drop-down choose “Copy Document” Action. Click on this library and choose the Current Item and then click on other this item to enter the destination library.
How to create task list in SharePoint Designer?
Here initially we need to create two SharePoint task lists: AssignedTaskList -> Task will be assigned to various users. CompletedTasks -> Once the task is completed, the completed task will be moved this task list. Now we can create the SharePoint workflow, Open Sharepoint Designer 2013.
SharePoint 2013 Designer workflows now has two new interesting options: the ability to call HTTP web services and the option to loop over some code a number of times.
How to create a list in SharePoint Designer?
In the workflow designer, let’s start by creating a new stage, call it Retrieve Tasks: In it, we add a new Set Workflow Variable action which creates a new String variable called url with the value “http://sp2013/_api/web/lists/getbytitle (‘Tasks’)/items”.
This, together with the new REST API, which supports querying lists and returning data in JSON, allows iterating through list items in a workflow, something that was not possible before. In order to demonstrate this, let’s create a new Site Workflow in SharePoint Designer, that will iterate through the Tasks list:
Is there a workflow to copy files from one site to another?
There is no workflow action in SharePoint designer to copy documents cross site. Luckily, there is a custom workflow activity can be applied into SharePoint, and it allows copying/moving list items and files cross site. The custom workflow activity is called Copy List Item Extended Activity.
Go to “Transition to stage” and then click on “End of workFlow” to end the Workflow. Now you check the workflow if it works properly or not, Go to Master library named as “Masterdoclibrary” add an item and then click on List settings and Click on Quick edit to change the Status and then choose to Completed.