Tell me more ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have a document library that has 'Content Approval' turned on (List Settings > Versioning Settings > 'Require content approval for submitted items'. I also have a workflow event receiver, utilizing the WorkflowCompleted event. Using SharePoint Manager as well as powershell, I can see my event associated to the list.

Problem is, when I upload an item, publish it, and Approve it, my event never fires. I'm attached to the debugger, tried manually restarting the timer service, and have checked the logs numerous times to no avail.

Can this workflow event NOT be run on the 'Content Approval' workflow?

Edit 1

I'm finding that it is possible to use the ItemUpdated event, and key off of the _ModerationStatus field that is added to the list item. The value in the field is an int that corresponds to the enum here.

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.