5 Replies Latest reply on Nov 16, 2006 11:48 AM by Ronald van Kuijk

    Decision Expressions

    Chris Germano Newbie

      This always goes to the transition "yes" and never no. What am I doing wrong? This should always evaluate to the no transition. I could guess that the expression evaluation is failing to resolve, I don't see the error and it's taking the default first transition. Any ideas?

      <decision name="Cost Analysis" expression="#{ (5 > 1 ? 'no' : 'no') }" >
       <transition name="yes" to="join1"/>
       <transition name="no" to="Finished"/>
      </decision>
      


      I'm sure I had this working before but now it's not.
      I'm on jbpm 3.02 and I've followed the example test format:
       " expression='#{ ( >1000 ? \"important lead\" : ( budget>100 ? \"lead\" : \"beggars\")) }'>" +