[rules-users] Accumulator being executed depending on the number of events

Wolfgang Laun wolfgang.laun at gmail.com
Sun Jun 24 02:38:53 EDT 2012


On 22/06/2012, Wolfgang Laun <wolfgang.laun at gmail.com> wrote:
> (Something strange is indeed going on

To conclude this thread:

There's nothing "strange" going on - I simply overlooked interference
from another rule.

It's noteworthy that createContext is called once for each rule, no
matter what. The init() method is responsible for complete
initialization of the Context. This method is called for each new
evaluation starting from scratch. If there is no "reverse" method,
updates of accumulated facts cause a recaclulation of the entire
accumulation.

-W


More information about the rules-users mailing list