7 Replies Latest reply on Aug 17, 2009 7:18 AM by Ronald van Kuijk

    expression question

    Eman Nollase Newbie


      I have this expression on my task:

      <decision name="Collateral" expression='#{ collateral == "true" }'>
       <transition to="fork1" name="true"></transition>
       <transition to="NO_COLLATERAL" name="false"></transition>

      final Map<String, Serializable> param = new HashMap<String, Serializable>();
      final String collavalue = "true";
      param.put("collateral", collavalue);

      my problem is the expression always falls to 'false' transition. How can make it work? And also if anyone can give me a different expression handling or tutorials, just for future references. :)

      Thanks a lot.