[rules-users] Timer and AgendaFilter
Wolfgang Laun
wolfgang.laun at gmail.com
Wed Aug 7 04:42:39 EDT 2013
On 07/08/2013, Kai Ruddies <KRuddies at proveo.com> wrote:
> Anyone knows?
I don't think so, not even the Drools Team themselves - otherwise they
most certainly would have documented it ;-)
There's no reason I can see that a rule with a timer should not be
subject to the filter set with fireAlRules(). Whether the filter
should only be called once or for each execution of the RHS is
debatable. I'm inclined to see the repeated firings as a single
activation executed in instalments, but feel free to develop another
opinion.
-W
>
> Von: rules-users-bounces at lists.jboss.org
> [mailto:rules-users-bounces at lists.jboss.org] Im Auftrag von Kai Ruddies
> Gesendet: Donnerstag, 25. Juli 2013 15:39
> An: rules-users at lists.jboss.org
> Betreff: [rules-users] Timer and AgendaFilter
>
> Hi,
>
> I have a rule with a timer and call fireAllRules(AgendaFilter agendaFilter)
> with an AgendaFilter. I can see the Activation is fired after the delay but
> accept(Activation activation) in my AgendaFilter isn't invoked. My
> AgendaFilter is working well for other rules without timers.
>
> Is this a bug or wanted that ScheduledActivations aren't passed to the
> AgendaFilter?
>
> I'm using drools expert 5.5.0.Final.
>
>
> Thanks,
> Kai
>
>
More information about the rules-users
mailing list