]
Michael Anstis moved GUVNOR-1981 to DROOLS-2:
---------------------------------------------
Project: Drools (was: Guvnor)
Key: DROOLS-2 (was: GUVNOR-1981)
Workflow: GIT Pull Request workflow (was: jira)
Affects Version/s: (was: drools-5.4.0.Final)
(was: drools-5.5.0.Final)
Knowledge Agent resets the Rules that are using Negative Patterns to
delaying with Fusion
-----------------------------------------------------------------------------------------
Key: DROOLS-2
URL:
https://issues.jboss.org/browse/DROOLS-2
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Reporter: Adrian Paredes
Labels: Guvnor, KnowledgeAgent, KnowledgeBase, TemporalOperators
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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: