Monday, November 7, 2011

The workflow could not update the item, possibly because one or more columns for the item require a different type of information

We got this strange issue when trying to update the current item through workflow.

Since the workflow error states that it requires different type of information, we thought it was the issue with data type mismatch but it was not the data type issue.

This issue is because the list workflow is configured to run in both cases:
a. When Item is Created
b. When Item is Modified

Hence, whenever the workflow tries to update the current item, a new workflow instance tries to start but since the current workflow instance is not yet completed, SharePoint flags this type of error.

Work Around: To resolve this issue, we have configured the list to start only when a new item is created.

We now used Event Receivers to trigger the workflow when the item is updated. In this case, the current workflow stops before a new workflow starts. Problem Solved :)

2 comments:

  1. Definitely believe that that you said. Your favourite justification appeared to be on the
    internet the simplest thing to be aware of. I say to you, I definitely get annoyed while other people
    think about concerns that they just do not understand about.
    You controlled to hit the nail upon the highest and also
    outlined out the whole thing with no need side-effects
    , other folks could take a signal. Will likely be again to get more.

    Thank you

    Here is my web-site; tagesgeldzinsen diba - -

    ReplyDelete
  2. my workflow initiated when an item is created I still have same issue
    "The workflow could not update the item, possibly because one or more columns for the item require a different type of information" any work around?

    ReplyDelete