Well, we&#39;ll have to look at the code, all of it.<br>-W<br><br><div class="gmail_quote">On 8 February 2012 18:36, juankera <span dir="ltr">&lt;<a href="mailto:juankera@gmail.com">juankera@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">Sorry... big mistake. I forgot to mention that i&#39;m inserting one StateEvent<br>
after each rules firing.<br>
<br>
So, these are the correct steps:<br>
<br>
1. I&#39;m working with stateful session (no clocks, entry-points or events for<br>
now).<br>
2. I insert one StateEvent fact into working memory<br>
3. Rules are fired.<br>
4. I can see &quot;yikesˇ&quot; in console<br>
5. Nothing happens after that.<br>
2. I insert one new StateEvent fact into working memory (from code)<br>
6. Rules are fired again<br>
7. I can see &quot;yikesˇ&quot; in console<br>
8. Nothing happens after that.<br>
<br>
Anyway, my code is as simple as that:<br>
<br>
(..)<br>
ksession.insert((RuleEvent) new StateEvent(item, state));<br>
ksession.fireAllRules();<br>
ksession.insert((RuleEvent) new StateEvent(item, state));<br>
ksession.fireAllRules();<br>
(...)<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/rules-users-Truth-maintenance-and-RHS-variables-tp3722632p3726783.html" target="_blank">http://drools.46999.n3.nabble.com/rules-users-Truth-maintenance-and-RHS-variables-tp3722632p3726783.html</a><br>

Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
<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>
</font></span></blockquote></div><br>