[jboss-user] [JBoss jBPM] - Re: Bugs in org.jbpm.graph.node.Decision?

Olivier_Debels do-not-reply at jboss.com
Tue Aug 1 06:51:09 EDT 2006


This is a nasty one.

To keep it short: just add names to your transitions.  The reason is that the Decision class is using these names to refer to the right transition.  If the name is not filled in the default leaving transition will be taken.


  | if (Boolean.TRUE.equals(result)) {
  |             transitionName = decisionCondition.getTransitionName();
  |           }
  | 

I leave it up to you to decide if this is a bug (or by design) and should be filed in JIRA.

Olivier.

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

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



More information about the jboss-user mailing list