7

Is it possible to write an event handler for the finish event of a Task in 2013.

Is it possible to catch the Committed Event of a Task in 2013?

I see there is a WorkflowEventArgs, but I am having a hard time finding the 'subject' of the event. Would VersionedItem be the correct subject?

8

Task is a process definition with 1 activity, so you need FinishProcessEventArgs and subject is a Process

1
  • Additionally FinishProcessEventArgs will give you the "Reason" why the process instance finished. The values are, Normal, Terminated, ForcedFinish, you can execute some logic depending on the reason for it.
    – Eric Huiza
    Jun 20 '13 at 8:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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