Thanks Maciej. I figured the same.
To implement the logic in the workitemhandler I am grabbing hold of the knowledgesession inside the handler and then calling abortProcessInstance with the processinstanceid.
Reply to this message by going to Community
Start a new discussion in jBPM at Community