On 18/02/2014, Raja Sekhar <raja.amir...@gmail.com> wrote:
> 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.

What do you mean by "fails"? The rule should fire in any case.

This is not enough code for a check: Java code inserting the facts,
Java code defining the facts, complete text of the rule is required,
and Drools version.

-W

>  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"
>
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to