[jboss-user] [jBPM] - Re: How to reject/Stop/cancel the process instance

Arun V G do-not-reply at jboss.com
Thu Feb 16 06:51:38 EST 2012


Arun V G [https://community.jboss.org/people/arunvg] created the discussion

"Re: How to reject/Stop/cancel the process instance"

To view the discussion, visit: https://community.jboss.org/message/717106#717106

--------------------------------------------------------------
Try the below method  if  what you want is to abort a process


org.drools.runtime.StatefulKnowledgeSession.*abortProcessInstance*(long processInstanceId)

Documentation says :

*Aborts the process instance with the given id.  If the process instance has been completed (or aborted), or the process instance cannot be found, this method will throw an IllegalArgumentException.*
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[https://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/20120216/3673b7db/attachment-0001.html 


More information about the jboss-user mailing list