Hi,
I am new to drools
The following collect statement is working i wanted group by hild
References(id: hlid);
    $prds : Products(products!=null)
    $matchingrecords : List() from collect ( Product(hlId==id) from $prds.products )
when the list contains 1,1,2,2 it works when the list contains 1,1,2,1 
the condition fails.
 I trying to group by hlId
please help


--
Raja Sekhar Amirapu
------------------------------------------------------
"If any anyone can do it, i can do it. If no one else can do it, i must do it"