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?
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.