[rules-users] rule flow

Mark Proctor mproctor at codehaus.org
Fri Sep 14 20:36:31 EDT 2007


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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20070915/2bbb817c/attachment.html 


More information about the rules-users mailing list