?
Solved

Sharepoint workflow document changed event

Posted on 2010-08-27
2
Medium Priority
?
590 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

801 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