-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
None
-
None
-
None
If I had a rule of this style in progress:
rule "Basic Rule"
dialect 'mvel'
when
$eventA: EventA($aId: id) from entry-point "time stream"
not EventB($aId == id, this after [0s,5m] $eventA) from entry-point "time stream"
then
System.out.println("Event A " + $aId + " at " + $eventA.timestamp);
end
And this rule had been activated 2 minutes ago... When the KnowledgeAgent updates the StatefulKnowledgeSession, after someone updates the KnowledgeBase from Guvnor, the time intervals resets to zero, because all the activated rules are canceled and activated again later.
The result is that the System.out fires 7 minutes after the event was inserted... 2 minutes later.