[rules-users] java void in LHS

Tim.Nguyen at expeditors.com Tim.Nguyen at expeditors.com
Wed Sep 12 17:11:06 EDT 2007


Hi all,

I would like to insert a java void to my condition(LHS). Is there anyway to
do that? Like an example below, how can I set something to my object before
evaluate it.


rule test123
    when
         cheese: Chesse()

--->>> chess.getType().setPrice("cheap");

         eval (chesse.getType () == "myType")


    then
           .....
    end



Thanks,

Tim




More information about the rules-users mailing list