<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>This is possible. You can loop through the List and add individual objects to the session.</span></div><div><span>How's you List defined?</span></div><div><br></div><div>Let me know if you need specific code example.</div><div><br><span></span></div><div><span>SA<br></span></div><div><br></div> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> Wolfgang Laun <wolfgang.laun@gmail.com><br> <b><span style="font-weight: bold;">To:</span></b> Rules Users List <rules-users@lists.jboss.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, April 6, 2012 8:14 AM<br>
<b><span style="font-weight: bold;">Subject:</span></b> Re: [rules-users] StatelessSession<br> </font> </div> <br>
Create a java.util.List list containing your objects and call<br>StatelessRuleSession.execute( list ) See the Javadoc of<br>StatelessRuleSession.<br>-W<br><br>On 06/04/2012, Hassan <<a ymailto="mailto:azbakh01@gmail.com" href="mailto:azbakh01@gmail.com">azbakh01@gmail.com</a>> wrote:<br>> hello everyone<br>><br>> actually I'm working with stateless session, I know we can pass a list of<br>> objects in the session but I do not know how to pass objects of different<br>> types, I do not even know if that's possible.<br>><br>> I will be grateful :)<br>><br>> -----<br>> Youssef AZBAKH.<br>> --<br>> View this message in context:<br>> http://drools.46999.n3.nabble.com/StatelessSession-tp3890043p3890043.html<br>> Sent from the Drools: User forum mailing list archive at <a target="_blank" href="http://Nabble.com">Nabble.com</a>.<br>> _______________________________________________<br>> rules-users mailing
list<br>> <a ymailto="mailto:rules-users@lists.jboss.org" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>> <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>><br>_______________________________________________<br>rules-users mailing list<br><a ymailto="mailto:rules-users@lists.jboss.org" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br><br><br> </div> </div> </div></body></html>