<span style="font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">I believe you should use the &quot;from&quot; clause or insert it as fact in session </span><br style="font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<br style="font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><span style="font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Ejaz</span><br>
<br><div class="gmail_quote">On Mon, Nov 5, 2012 at 10:51 AM, Esteban Aliverti <span dir="ltr">&lt;<a href="mailto:esteban.aliverti@gmail.com" target="_blank">esteban.aliverti@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span style="font-family:arial,sans-serif;font-size:13px">Where in your rule are you storing $rule? According to the code you&#39;ve posted $rule is only used (misused?) internally in the rule. </span><br><div><span style="font-family:arial,sans-serif;font-size:13px"><br>


</span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Best Regards,</span></div><div class="gmail_extra"><div class="im"><br clear="all"><br>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br><br>Esteban Aliverti<br>
- Blog @ <a href="http://ilesteban.wordpress.com" target="_blank">http://ilesteban.wordpress.com</a><br>


<br><br></div><div><div class="h5"><div class="gmail_quote">On Mon, Nov 5, 2012 at 5:41 PM, himansu.nayak <span dir="ltr">&lt;<a href="mailto:himansumca@gmail.com" target="_blank">himansumca@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi Esteban,<br>
Values of @{Result1}, @{Result2} &amp; @{Result3} are unique values in my excel<br>
and they are not null, but when i try to get the hashmap(i.e. $rule) from<br>
array list(i.e $testObj.getResult() return an array list) in my java code it<br>
just return null as if the Map &lt;String, Map&gt;$rule = new HashMap&lt;String,<br>
Map&gt;() is completely ignored when it comes out of drools working memory.<br>
<br>
<br>
<br>
<br>
-----<br>
Thanks...<br>
Himansu<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Creating-HashMap-object-in-rules-tp4020690p4020704.html" target="_blank">http://drools.46999.n3.nabble.com/Creating-HashMap-object-in-rules-tp4020690p4020704.html</a><br>



<div><div>Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">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>
</div></div></blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
rules-users mailing list<br>
<a 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></blockquote></div><br>