[jboss-user] [JBoss jBPM] - Re: org.hibernate.TransientObjectException on Fork...

saschwen do-not-reply at jboss.com
Mon Apr 9 09:07:10 EDT 2007


Hey,

I've looked into this a little more and noticed that the Fork executes the first branch and passes right through the Join node to the end without executing the second branch.  Is there something I need to configure to have the fork and join work together?

Here is a sample snippet of my definition.

   <fork name="fork1">
  |       <transition name="" to="BranchA"></transition>
  |       <transition name="tr2" to="BranchB"></transition>
  |    </fork>
  |    <state name="BranchA">
  |       <event type="node-enter">
  |          ...
  |          <action name="Transition Success" class="TransitionHandler" config-type="bean">
  |             <transName>success</transName>
  |          </action>
  |       </event>
  |       <transition name="success" to="join1"></transition>
  |    </state>
  |    <state name="BranchB">
  |       <event type="node-enter">
  |          ...
  |          <action name="Transition Success" class="TransitionHandler" config-type="bean">
  |             <transName>success</transName>
  |          </action>
  |       </event>
  |       <transition name="success" to="join1"></transition>
  |    </state>
  |    <join name="join1">
  |       <transition name="" to="Success"></transition>
  |    </join>
  | 

I hope someone can help.  :)

Thank you,


Steve.

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

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



More information about the jboss-user mailing list