[jboss-dev-forums] [jBPM Development] - Re: Jump to end state from Node

Sasi R do-not-reply at jboss.com
Thu May 19 10:01:47 EDT 2011


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&containerType=14&container=2035]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110519/46b64f7f/attachment.html 


More information about the jboss-dev-forums mailing list