Copy Item Workflow using SharePoint Designer 2010
Today I’m going to create a list item workflow in SharePoint Designer 2010. This is a simple workflow that you create in several cases. For this demonstration I have created a TeamSite. You can create this workflow for any site.
What we will achieve from this workflow
I have a default announcement list. And then I created another list with the name CopiedAnnouncement with announcement list template. Now I want to create a workflow for announcement list so when I create or change an item in announcement list it will copy the item in CopiedAnnouncement list. Both the lists are identical in structure.
Also I edited my site’s home page to display both lists. For this
Click on Edit Page under Site Actions
Click on Insert under Editing Tools
Select Existing List
Select Announcements and CopiedAnnouncements one by one.
Purpose of displaying lists on the same page is just to see workflows result quickly.
Now come to the main task, and open your site in SharePoint Designer 2010. In order to create a new workflow, click on File menu and select Add Item. Then select the List Workflow under Workflows tab.
Add CopyItem as the name of new workflow. And select the Announcements in the list drop down. Your new workflow will be attached to the selected list.
When ypu click on Create, it will show a popup message to download data for workflow.
Once it completes the downlaod and load the workflow page. Then click on Edit Workflow link.
Now on this screen you can add Conditions and Actions for your workflow. My workflow is very simple and not using any condition so I will just add as Action straight away. Click on the Action from the top ribbon and then select the Copy List Item.
Now Click on the Save, it will show a save progress message.
Now choose the Start Option. There are three options to trigger a workflow. Start manually, on List Item Created and on List Item Changed. In my case I selected for List item Created. You can find these options under Start Options on the main workflow setting screen.
Now click on the Publish from the top ribbon. This will deploy the workflow on the site and also attached it to the already selected list. Making life easy. When your workflow is deployed, you can verify it by looking into the list workflow setting. CopyItem should be visible there and will show 0 numbers of workflows running at this stage.
Now it is the time to see workflow in action. In order to test the workflow add new item in announcements list. When we add a new item in list it will trigger the workflow to copy the item in CopiedAnnonucements list.
After adding new item in the Announcements list, you just have to refresh the page. Give 5 to 10 seconds to workflows to trigger and then refresh the page. You can see the item copied it the CopiedAnnonucements list.
Thats All, your workflow is ready and working what was expected.