Why the OnWorkflowItemChanged is different between List and document library?

Posted by Yongwei Xing on Stack Overflow See other posts from Stack Overflow or by Yongwei Xing
Published on 2009-10-21T09:03:54Z Indexed on 2010/04/05 2:53 UTC
Read the original article Hit count: 314

Filed under:
|

I am doing a workflow for a document library. I put a OnWorkflowItemChanged, and I want to get the value of the column which is changed. I use the workflowProperties.Item["name"] and use the afterProperties. But when I use the workflowProperties.Item["column name"], I still got the original value. When I use the afterProperties, it's NULL.

Then I make another workflow that is the same as above for a list. I can use the workflowProperties.Item["column name"] to get the new value in OnWorkflowItemChanged.

Has anyone come across this problem before? Can you give me some help?

© Stack Overflow or respective owner

Related posts about sharepoint

Related posts about Workflow