I would like to fire an event when Workflow Task is completed and I would like to check the original item and workflow that created the task. But I cannot find any value among the Workflow task properties that would point to the originating list, list item and workflow instance. Is this possible?

I am using OOTB Approval workflow.

1 Answer 1


Found it, there is SPWorkflowTask.WorkflowId Property available.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.