On 09/12/2013, ters <[email protected]> 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
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to