3 Replies Latest reply on May 14, 2007 8:07 AM by Ronald van Kuijk

    Condition expressions not evaluating properly

    Josep Gayà Newbie


      I've recently upgraded to jBPM-jpdl-3.2.GA and my decision nodes are not working anymore. Look at the following code:

      <decision name="hi ha altre servei">
       <transition name="servei_altre_repetit" to="join firma ordre estudi">
       <condition expression="#{1 eq 2}"/>
       <transition name="servei_altre_no_repetit" to="firma ordre estudi altre">
       <condition expression="#{2 eq 2}"/>

      The first transition is always taken, despite the first condition expression evaluates to false and the second condition expression evaluates to true.

      How is this possible?