line 3 is illegal, you can't just put random java expressions in a LHS. instead do:
eval( map.put("uid", "0") != null )

Although you shouldn't be writting to stuff in a LHS.

Patrick Santana wrote:
Guys,

I have this LHS

1.            when
2.                  map:Map();
3.                      map.put("UID","0");
4.                  eval(MapUtils.getString(map, "SUPPLIER").equals("{supplier}"));


 
Is it possible what I try to do in the line 3? I'm receiving: unknown:66:18 Unexpected token '"UID"'


Thank you very much,

Patrick
PS.: I'm using a .dsl file. I just removed it from here to simplify.





____________________
Patrick Santana
patrick@digitalbio.be



New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at the Yahoo! Mail Championships. Plus: play games and win prizes.

_______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users