[jboss-user] [jBPM] - Re: Abort/Delete process instance

Maciej Swiderski do-not-reply at jboss.com
Thu Jan 24 13:45:48 EST 2013


Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion

"Re: Abort/Delete process instance"

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

--------------------------------------------------------------
abortProcessInstance on ksession is the way to go, which will abort the process and remove it from runtime engine data base tables. If it does not work, make sure that session that you use is persistent session so it is capable of finding the right process instance. But it will not remove the history log. An option for this is that you could create dedicated session that will be used for deleting process instances and register a custom process event listener on it that will remove data from log db in afterProcessCompleted method.

HTH
--------------------------------------------------------------

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

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/20130124/39addece/attachment.html 


More information about the jboss-user mailing list