[jboss-user] [JBoss jBPM] - Re: expression question

freak182 do-not-reply at jboss.com
Sun Aug 16 22:30:57 EDT 2009


Hello,

I change my expression to:


  | 
  |        <decision name="Collateral" expression='#{ collateral > 0 }'>
  | 		<transition to="fork1" name="true"></transition>
  | 		<transition to="NO_COLLATERAL" name="false"></transition>
  | 	</decision>
  | 
  | final Map<String, Serializable> param = new HashMap<String, Serializable>();
  | param.put("collateral", new Integer(1));
  | 
  | 

and it work fine. Now I am just confused that i cannot use string comparisson in expression? please advice.

Thanks a lot.
Cheers.




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

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



More information about the jboss-user mailing list