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 <esteban.aliverti(a)gmail.com> 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 <
abhinay_agarwal(a)infosys.com> 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-Cla...
> Sent from the Drools: User forum mailing list archive at
Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/rules-users
>