true, damn :)

I did think of an attribute to "re-activate" any rules that are true, but not currently on the agenda - but not sure about it yet, would have to think on the negative effects some more.

Mark
Kris Verlaenen wrote:
> use the rule attribute "lock-on-active" to stop this behaviour, it stops a rule re-activating while the ruleflowgroup is active
Well, this won't work for the same reason no-loop isn't working: if you use lock-on-active, it will make sure that the rule is not reactivated, so the execution of the node will end after one increment.  But the lock-on-active makes sure that no activation is ever created, so, in the context of looping in ruleflow, even if the RuleSet node is activated again afterwards, it will never increment the integer again (as you prevented reactivation of the rule using lock-on-active), resulting in an endless loop in this case.  Currently, as far as I know, the only thing that works is manually deactivating the ruleflow-group.
 
Kris

_______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users