title: How to get the context from workflow event handler in Sharepoint 2010
body: <p>I am in the process of upgrading our custom solutions to Sharepoint 2010. I wanted to utilize the <strong>WorkflowCompleted</strong> event handler but I don't seem to be able to get the relevant <strong>SPListItem</strong> from the event properties.</p>
  
  <p>I tried using <strong>SPWorkflowEventProperties.ActivationProperties</strong> but this always returns null (even in the <strong>WorkflowStarted</strong> event handler).</p>
  
  <p>How do I get the context from workflow event handlers (<strong>SPListItem</strong>, <strong>SPWeb</strong>, <strong>SPSite</strong> etc)?</p>