Yet another way would be to insert each List into a different entry point so that you might write
List( ... ) from entry-point "ListA" AFAIK, you don't have a way of matching any List, though. -W On 27/11/2012, Esteban Aliverti <[email protected]> wrote: > Well, there could be another way using one global for each of your lists > (the lists should be inserted as fact just like you are doing) and then > doing something like List( this == globalListA), but I never tried > something like that. > I think Wolfgang's recommendation (which is the same you have proposed) is > the most elegant solution. > > Best Regards, > > > XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX > > Esteban Aliverti > - Blog @ http://ilesteban.wordpress.com > > > On Tue, Nov 27, 2012 at 10:28 AM, abhinay_agarwal < > [email protected]> wrote: > >> So i can consider that there is no other way out :( >> >> Neways, Thanks for the quick replies ! >> You guys rock ! >> >> >> >> -- >> View this message in context: >> http://drools.46999.n3.nabble.com/Inserting-Different-Objects-Of-Same-Class-tp4020971p4020976.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
