This is possible. You can loop through the List and add individual objects to the
session.
How's you List defined?
Let me know if you need specific code example.
SA
________________________________
From: Wolfgang Laun <wolfgang.laun(a)gmail.com>
To: Rules Users List <rules-users(a)lists.jboss.org>
Sent: Friday, April 6, 2012 8:14 AM
Subject: Re: [rules-users] StatelessSession
Create a java.util.List list containing your objects and call
StatelessRuleSession.execute( list ) See the Javadoc of
StatelessRuleSession.
-W
On 06/04/2012, Hassan <azbakh01(a)gmail.com> wrote:
hello everyone
actually I'm working with stateless session, I know we can pass a list of
objects in the session but I do not know how to pass objects of different
types, I do not even know if that's possible.
I will be grateful :)
-----
Youssef AZBAKH.
--
View this message in context:
http://drools.46999.n3.nabble.com/StatelessSession-tp3890043p3890043.html
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
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users