[rules-users] collect

Raja Sekhar raja.amirapu at gmail.com
Tue Feb 18 07:53:15 EST 2014


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"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140218/473a0bc4/attachment.html 


More information about the rules-users mailing list