[jboss-user] [JBoss jBPM] - Cancelling action execution

jjrs do-not-reply at jboss.com
Mon Jan 5 11:36:37 EST 2009


We have a JobExecutor running actions in parallel using async='true'. In this scenario, we need to be able to stop the execution of actions (from the command line or the console, it doesn't matter at this stage). If possible I would like to avoid killing the associated java process for being able to report to the database that the action has been stopped by user interaction.

I have been trying to accomplish this requirement using the jBPM console, although all I have been able to achieve is stop the node (so I get a SOE once the action is finished and the and the node information is modified in the database). I have been looking for a way to be able to stop the actions, but I don't see how to do this in an easy way, after having a look to the CancelXXXCommand classes.

 Could anyone provide any idea or suggestion?

 Thanks a lot in advance.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199584#4199584

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199584

More information about the jboss-user mailing list