Quantcast
Channel: Getting workflow comments during item saved event handling - Sitecore Stack Exchange
Viewing all articles
Browse latest Browse all 2

Getting workflow comments during item saved event handling

$
0
0

Classic use case. We have "Authors" and "Approvers" roles in our setup. When an item has transitioned from Draft to Review state, we're sending an email notification to a list of "Approvers" to inform then an "Author" has submitted an item through workflow.

I've implemented this through the item saved event using a custom event handler. The rub is, the workflow history hasn't been written at the time the item saved event fires. I've looked through Context.Items dictionary thinking Sitecore might have stowed the comments there but no dice.

Is there a way to capture the workflow comments from the item saved event handler without using Workflow History (since it's not there)?


Viewing all articles
Browse latest Browse all 2

Trending Articles