[jboss-user] [JBoss jBPM] - Re: Decision -> select path

masipu do-not-reply at jboss.com
Wed Aug 22 03:00:46 EDT 2007


update to problem:

If i don't use the join node (well, even if i do use this happens), both paths are still ran.


  |    <decision name="DecisionThing">
  |       <event type="node-enter">
  |          <action name="ResolveDecision" class="com.eventizer.actionhandlers.ResolveTransition">
  |             <nodeName>SomeName</nodeName>
  |          </action>
  |       </event>
  |       <transition name="0" to="Zero"></transition>
  |       <transition name="1" to="One"></transition>
  |    </decision>
  |    <state name="Zero">
  |       <event type="node-enter">
  |          <action name="DoSomething" class="com.eventizer.actionhandlers.Some">
  |          </action>
  |       </event>
  |       <transition name="" to="End process"></transition>
  |    </state>
  |    <state name="One">
  |       <event type="node-enter">
  |          <action name="DoSomethingElse" class="com.eventizer.actionhandlers.SomeElse">
  |          </action>
  |       </event>
  |       <transition name="" to="End process"></transition>
  |    </state>
  | 

So here, I want to either run Zero or One, not both.

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

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



More information about the jboss-user mailing list