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 <[email protected]> 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 > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users >
_______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
