Sasi R [
http://community.jboss.org/people/sasir] created the discussion
"Re: Jump to end state from Node"
To view the discussion, visit:
http://community.jboss.org/message/606054#606054
--------------------------------------------------------------
SetNode does not work, it always starts node after the one you set. Below is the correct
code
Transition leavingTransition = *new* Transition(+DYNAMIC_TRANSITION+);
leavingTransition.setTo(executionContext.getProcessDefinition().getNode("Nodename"));
leavingTransition.setFrom(executionContext.getNode());
executionContext.leaveNode(leavingTransition);
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/606054#606054]
Start a new discussion in jBPM Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]