[jboss-jira] [JBoss JIRA] (DROOLS-2) Knowledge Agent resets the Rules that are using Negative Patterns to delaying with Fusion

Mario Fusco (JIRA) jira-events at lists.jboss.org
Wed Nov 13 04:41:06 EST 2013


     [ https://issues.jboss.org/browse/DROOLS-2?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mario Fusco reassigned DROOLS-2:
--------------------------------

    Assignee: Mario Fusco

    
> 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
>            Assignee: Mario Fusco
>              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: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list