[jboss-user] [jBPM] - jBPM5 - How to abort a already running ProcessInstance?

scurvo do-not-reply at jboss.com
Mon Jan 17 10:14:47 EST 2011


scurvo [http://community.jboss.org/people/scurvo] created the discussion

"jBPM5 - How to abort a already running ProcessInstance?"

To view the discussion, visit: http://community.jboss.org/message/581245#581245

--------------------------------------------------------------
Hi all,

I wanted to stop/abort a running process but don't know how.
I create my KnowledgeBase, the StatefulSession, and the WorkItem for the Service Task for the process and I startProcess(...), but how do i stop it before it reaches the end?

I seen the "void abortProcessInstance(long processInstanceId);" function but it doesn't do nothing and the process continues.

Anyone can help  :( ?
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/581245#581245]

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/08e5bbbd/attachment.html 


More information about the jboss-user mailing list