[jboss-user] [jBPM] - Re: jBPM5 - How to abort a already running ProcessInstance?
scurvo
do-not-reply at jboss.com
Mon Jan 17 11:05:13 EST 2011
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&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110117/b4b9f642/attachment.html
More information about the jboss-user
mailing list