<div dir="ltr">My question was if you were setting the values BEFORE r AFTER you call ksession.insert(). Rules get evaluated when you insert your facts and not when you call fireAllRules().<div><br></div><div style>Best Regards,</div>

</div><div class="gmail_extra"><br clear="all"><div><br>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br><br>Esteban Aliverti<br>- Blog @ <a href="http://ilesteban.wordpress.com" target="_blank">http://ilesteban.wordpress.com</a></div>


<br><br><div class="gmail_quote">On Thu, Jan 24, 2013 at 3:42 PM, Mister Nono <span dir="ltr">&lt;<a href="mailto:noel.maurice@univ-jfc.fr" target="_blank">noel.maurice@univ-jfc.fr</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">Hi,<br>
<br>
Yes, I had set the value before the fire of the rules with a command as this<br>
:<br>
ksession.setGlobal(&quot;test&quot;, &quot;myString Test&quot;);<br>
<br>
Thank to help me.<br>
<br>
See you soon ;)<br>
<br>
<br>
<br>
</div>--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Compare-two-String-objects-tp4021730p4021791.html" target="_blank">http://drools.46999.n3.nabble.com/Compare-two-String-objects-tp4021730p4021791.html</a><br>


<div class="HOEnZb"><div class="h5">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">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>