Sharepoint workflow document changed event
Posted on 2010-08-27
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?