Did you try using a custom accumulate function? You must code it in java and use it in your rules easily.
Best, XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com 2010/8/2 Baig, Kaleem <[email protected]> > --------- > > There is a list of objects. > > Each object has a property "score". > > We need to select three objects with the highest scores. > > > > How to create this rule in Guvnor (This would be easy in Java, but we want > no code in the rules)? > > > > Thank you!!! > > > > _______________________________________________ > 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
