[rules-users] CEP accumulate unclear behavior

Wolfgang Laun wolfgang.laun at gmail.com
Tue Dec 10 01:01:46 EST 2013


On 09/12/2013, ters <ters at ukr.net> wrote:
> Wolfgang, hi again. I've tried your suggestion of the computation
> separation.
> But I tried to use global variable instead of additional fact-accumulator:

The Rule Engine is very narrow-minded when it comes to evaluating
globals on the LHS of a rule. Changes aren't "seen" by the engine.
(Read the doc:  "a global should never be used to establish conditions
in rules except when it has a constant immutable value.")

-W


More information about the rules-users mailing list