Hi,
You can use eval();when$obj1:object();$obj2:object();
eval ($obj1!=$obj2);thenSystem.out.println("Fired");
Hope this helps
Chris2007/5/18, Sikkandar Nawabjan < Sikkandar.Nawabjan@ustri.com >:_______________________________________________Hi,we are using drools version 3.0.6. I want to check the object references of t inserted objects in working memory.How to check the condition in LHS?right now am doing the following waywhen$obj1:object()$obj2:object()thenif($obj1!=$obj2)System.out.println("Fired");how to move the if(if($obj1!=$obj2)) statement to LHS? am not able to use this operator in version 3.0.6Thanks and Regs.Basha
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
--
woodrow.chris@gmail.com est ma nouvelle adresse e-mail. chris.woodrow@free.fr va disparaître, pensez à faire le changement.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users