Bug in SharePoint 2007 Workflow ‘Copy List Item’

Written by:

Today I ran into a rather obnoxious bug in SharePoint 2007 workflow actions.

When using the ‘Copy List Item‘ action in a workflow targeting a document library, I noticed that sometimes not all of the fields would get copied to the new list.  At first it seemed random in its appearance but after playing with it for a few minutes I noticed the factor which determined whether all of the fields got copied was the number of characters in the file extension of the file being moved from one document library to another.  Files with three letter extensions (such as sample.txt or sample.doc) worked fine whereas files with four letter extensions (such as sample.docx or sample.xlsx) would not!

So far I have not been able to find any workaround to this problem other than writing my own custom action in .Net! If you have run into this bug and found a solution, please leave a comment below.

Stay tuned for any updates…

-Lee

Posted on March 10th, 2010 in Our Culture, Technology, Tips & Tricks.