Hi Guys,<br><br>I have the following situation while running a stateful session with Drools 4.0.7:<br><br>- I want to test that a fact with a given state doesn&#39;t exist;<br>- It works fine<br>- At a certain point I have to retract all facts and reinsert them at the stateful session - some of them actually changed and I don&#39;t want to recreate the session b/c it&#39;s expensive<br>
- Again the fact that didn&#39;t exist when I first created the session still doesn&#39;t exist<br><br>** Problem: This time the rule that verified the non-existence is not fired because I didn&#39;t insert any fact that would retrigger it.<br>
<br>Rule example:<br><br> rule &quot;022&quot;<br><br>        when<br><br>                SiteLanguage(language : languageCode)<br>                t : SiteSpecialServiceType(type : specialServiceType)<br>                not SiteLanguageSpecialServiceType(specialServiceType == type, languageCode == language)<br>
        then<br>                 &lt;&lt;consequence&gt;&gt;<br>end<br><br>How could I solve or workaround that?<br><br><br>Thanks in advance,<br>Leo.