[rules-users] NESTED LOOPS Possible

Wolfgang Laun wolfgang.laun at gmail.com
Fri Jul 20 16:29:27 EDT 2012


Determining the truth value of a complex property is best done by writing a
function, e.g.

   function isYafterX( List list, Object y, Object y)

and by calling this function in an eval() conditional element.

-W



On 20 July 2012 22:18, salt <writemesaltworth at gmail.com> wrote:

>
> Hi,
>
> Please let me know nested loops are possible in drools or not..
>
> Scenario like this needs to be developed
>
>  list  values : A,B,C,D,E,F..
>
> Need to set 1 in Action if D is after C.
>
> So here i need to loook for D and if got again that list will be iterated
> and will check for C.
>
> Have tried this logic without nested loops and it works fine but
> performance
> wise its hitting.
>
> So Kindy let me know whether Nested loops are possible or not..
>
> Thanks
>
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/NESTED-LOOPS-Possible-tp4018811.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20120720/5d3dd6f2/attachment.html 


More information about the rules-users mailing list