?
Solved

Sharepoint workflow document changed event

Posted on 2010-08-27
2
Medium Priority
?
597 Views
Last Modified: 2012-05-10
I am creating a custom SharePoint state machine workflow that handles document review and approval.  I have added a global event driven activity that handles the onWorkflowItemChanged event.  The problem I am having is the event is firing whenever anything about the document chages (metadata, approval status, version, even state changes), and I really only want it to fire whenever the actual FILE changes.  I have browsed through all the properties of the AfterProperties and BeforeProperties fields in the onWorkflowItemChanged event, but can find no way to determine is the actual file is getting changed.  This seems like a huge limitation of the sharepoint workflow engine.  Has anyone encountered this issue before?
Thanks!
0
Comment
Question by:CCHCS-WebTeam
2 Comments
 
LVL 15

Accepted Solution

by:
dp_expert earned 1500 total points
ID: 33556482
This is how SharePoint works - it does not difrentiate between document change and metadata change. I do not know any method to give you 100% check if the document itself was modified.
0
 

Author Closing Comment

by:CCHCS-WebTeam
ID: 35487765
It's just fine.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question