1 Reply Latest reply on Jan 6, 2009 4:35 PM by Ronald van Kuijk

    Cancelling action execution

    Jose Rodriguez Newbie

      Hi,

      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.
      Jose.