<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000'>"I expected only new facts to be evaluated as I'm running stateful session"<br><br>It only works this way if you let your session alive in a separate Thread, using fireUntilHalt().<br>If you use fireAllRules() (by instance each 5s), then yes, everything will be re-evaluated, just as if it were a new session.<br><br>NB : I hope you have something to clean up your facts too !<br><br><hr id="zwchr"><div style="color: rgb(0, 0, 0); font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>De: </b>"rvkhakhkhar1" &lt;rvkhakhkhar@gmail.com&gt;<br><b>À: </b>rules-users@lists.jboss.org<br><b>Envoyé: </b>Mercredi 29 Août 2012 11:58:51<br><b>Objet: </b>[rules-users] Timer Cron reevaluating same facts again and gain<br><br>I have a rule which fires let's say every 5 secs.
I have thread which continously infuse facts to ksession simultaneoulsy.
For example,
At 5th sec, 
 I have 500 matching facts, with total 1000 facts

Before the next invocation I infuse another 1000 facts.
So, at 10th sec,
 Rule considers whole working memory including previously evaluated facts. I expected only new facts to be evaluated as I'm running stateful session

        
        
        
<br><hr align="left" width="300">
View this message in context: <a href="http://drools.46999.n3.nabble.com/Timer-Cron-reevaluating-same-facts-again-and-gain-tp4019422.html" target="_blank">Timer Cron reevaluating same facts again and gain</a><br>
Sent from the <a href="http://drools.46999.n3.nabble.com/Drools-User-forum-f47000.html" target="_blank">Drools: User forum mailing list archive</a> at Nabble.com.<br><br>_______________________________________________<br>rules-users mailing list<br>rules-users@lists.jboss.org<br>https://lists.jboss.org/mailman/listinfo/rules-users<br></div><br></div></body></html>