Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
A common SharePoint customization request is to copy or move items and documents between lists. This can be accomplished without development by creating a workflow using SharePoint Designer (SPD). With this approach, you may encounter issues with list item fields not copying or copying intermittently. This article will explain how the copy list item activity works, what can go wrong and how to troubleshoot and resolve the issues.
If you are not familiar with SPD workflows, here is a quick primer on how to create a workflow that copies a list item to another list. Open the site and select File > New Workflow. Select the source list and set the start options. Note in this example, the workflow executes when a new list item is added.
The workflow consists of steps which have conditions and actions. In this example, there are no conditions, only an action to copy the list item:
Configure the action to copy the current item in the source list to the target list and click Finish to associate the workflow with the source list.
Add a new item to the source list and you can see the outcome of the workflow:
The item was copied to the target list:
The copy list item activity iterates through all the fields in the source list and tries to find a match in the target list. The fields are considered compatible for copying when the following is true:
After the field matches have been determined, a list item is created in the target list using a system update (does not trigger event receivers / workflows and the created by user is system). In addition, when the field type is User, the user(s) are created in the target web if they don't already exist.
There are two common symptoms and the underlying causes of each is human error. But don't beat yourself up; they are easy mistakes to make and correct. Use the following to troubleshoot the issue:
In a document library, users can add a document two ways through the browser. The first option is to click New. This opens the client application associated to the list template such as Microsoft Word. In Word 2007, the list item properties appear on the Document Information Panel (In Word 2003, the list item properties are displayed in a dialog when you save the document):
Because the list item properties are captured by the client application, the document and properties are saved at the same time. The save triggers the workflow created event receiver logic and the copy will succeed. When the document is added using the Upload (or Upload Mutliple) option, the upload occurs in two stages. The first stage is adding the file to the document library:
The second stage is updating the list item properties. At this point, the item has been added to the document library, the created event has fired, and the copy list item workflow has completed. The properties haven't been entered, so the workflow copied the document and blank property values to the target list.
The following summarizes the differences between New and Upload:
To overcome the issue with document libraries, one possible approach is to modify the SPD workflow as follows:
SPD workflows are a business-user enabling technology and a useful tool in your SharePoint customization toolkit. I hope this article sheds some light on how to implement a copy list item workflow using SPD and how to troubleshoot and resolve common issues with the approach.
Anonymous
January 02, 2009
PingBack from http://www.codedstyle.com/sharepoint-designer-copy-list-item-workflow-activity-does-not-copy-all-fields/
Anonymous
July 06, 2009
Nice article!
I was wondering if there's anyway to copy a object to a list on another site?
Thanks
Anonymous
July 31, 2009
John, This is all well and good but when selecting a start option to 'automatically start workflow when new item is created' causes a workflow error when using Copy List Item.
I have had limited success using 'Set Field in Current Item' but this only copies one field of data even tho I have actions to copy 4 fields.
Copy List Item does not seem to work with 'automatically start workflow when new item is created'.
Any ideas?
TJ
Anonymous
January 26, 2010
The comment has been removed
Anonymous
July 07, 2010
There are some custom actions online that give you options to move or copy a item from library to library using URL string.
Anonymous
February 17, 2011
Great article. But can we move item from one list to different list in different sub site in the same site collection?
In SPD I don't see the subsite list while creating the workflow. I could sucesfully move item from one list to anothere in the same site.
Any pointers would be helpful.
ekhichdi.com/.../Remove-Orphan-Entries-225.html
Anonymous
April 06, 2011
Using SPD work flow, I am trying to copy list attachment from list A to list B, but when I had a look in workflow report I get "unknown error", my both list are identical and field type is also exactly the same, if anyone of you have came across the same problem and found any workaround or the cause of this error please share with me.
Thanks,
Nishikant Madghe
Anonymous
July 10, 2012
I want to copy one item form document library properties to a list with SPD Workflow but I get an error that says. The column should be identical. Do you have any idea?
Anonymous
February 10, 2013
I am using a column whihc has a Name presence field. I want it copied when a user enters in a person's name to the field, and copy it to all records where the project number is the same. It does not want to copy it.
Anonymous
July 17, 2013
Great article! Used it today with one of our international customer.
Anonymous
November 09, 2014
I've one list "A" with columns ID, ID_1.
One more list. Test_1.
My requirement is when a item is created in Test_1 that should reflect the item ID in ID_1 of list "A".
It should only update the ID_1 Column , not entire list "A".
How I can achieve this in 2013 workflow ?
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in