Solved

Sharepoint workflow document changed event

Posted on 2010-08-27
2
541 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 500 total points
Comment Utility
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
Comment Utility
It's just fine.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
crm development 2 34
Limiting string to two deciamls 18 30
dynamic menu in asp.net c# 11 22
Set form below another form 3 24
The vision: A MegaMenu for a SharePoint portal home page The mission: Make it easy to maintain. Allow rich content and sub headers as well as standard links. Factor in frequent changes without involving developers or a lengthy Dev/Test/Prod rel…
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!
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

763 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now