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'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't want to recreate the session b/c it's expensive<br>
- Again the fact that didn't exist when I first created the session still doesn't exist<br><br>** Problem: This time the rule that verified the non-existence is not fired because I didn't insert any fact that would retrigger it.<br>
<br>Rule example:<br><br> rule "022"<br><br>        when<br><br>                SiteLanguage(language : languageCode)<br>                t : SiteSpecialServiceType(type : specialServiceType)<br>                not SiteLanguageSpecialServiceType(specialServiceType == type, languageCode == language)<br>
        then<br> <<consequence>><br>end<br><br>How could I solve or workaround that?<br><br><br>Thanks in advance,<br>Leo.