JBoss Community

Re: Jump to end state from Node

created by Martin Weiler in jBPM Development - View the full discussion

But following code is not working as expected and its always executing all the nodes.

 

The code should work, but the problem is that the process definition is composed of <node> elements. As these are not wait states, the process execution just continues, regardless of the ActionHandler. Change all the <node> elements in your process to <state> elements, and you should get the desired result with the AutomationHandler.

Reply to this message by going to Community

Start a new discussion in jBPM Development at Community