scurvo [
http://community.jboss.org/people/scurvo] created the discussion
"Re: jBPM5 - How to abort a already running ProcessInstance?"
To view the discussion, visit:
http://community.jboss.org/message/581271#581271
--------------------------------------------------------------
What i do is i create a Service Task like this:
ksession.getWorkItemManager().registerWorkItemHandler("Service Task", new
ServiceTaskHandler());
ProcessInstance pi = ksession.startProcess(....)
And i try to abort the process like this:
ksession.abortProcessInstance(pi.getId());
But it continues to execute the so called Service Task...
Can show me how to abort this service task also?
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/581271#581271]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]