Re: [rules-users] executing ruleflow with AgendaFilter
Michal, A ruleset node only continues if the ruleflow group is it associated with is deactivated. A ruleflow group is deactivated automatically if it contains no more activations or if you deactivate it manually. By using an agenda filter, you are not executing the activation and thus the activation is never removed from the ruleflow group. Therefore, the process will keep waiting. This is expected behavior. Why were you expecting it to continue? I guess you would need some other kind of "filter" that not prevents the activation from firing but cancels activations that are not accepted by the filter? Kris Quoting Michal Bali : > Hi, > If a rule is not allowed to fire by an AgendaFilter the whole > ruleflow > stops. > > I've created a small test case (attached). It contains: > - one DRL file with one dummy rule that is in some ruleflow-group. > - one RF file with three nodes ('start', 'ruleflow group' and > 'end') > - a program that starts the process, and calls fireAllRules with > custom > agenda filter. > > Once the program is executed the ruleflow will stop inside the > ruleflow-group. If I remove the agenda filter it works as expected > (the > ruleflow finishes). > > Tested with Drools 5.0.1. > > Is this a bug or am I missing something? > > Best regards, > Michal > Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] RuleBase.removeRule leads to NoClassDefFoundError
Hi Steiner, Did you tried Drools 5? We fixed a couple bugs related to package add/remove in the Drools 5 codebase. []s Edson 2009/5/25 Steinar Haugen > > > We found the reason for this behaviour, it is a bug which we reported in > Jira: > https://jira.jboss.org/jira/browse/JBRULES-2098 > > See the Jira issue for details, code examples reproducing the issue and for > a workaround. > > Regards, > Steinar Haugen > -- > View this message in context: > http://www.nabble.com/RuleBase.removeRule-leads-to-NoClassDefFoundError-tp23657476p23707100.html > Sent from the drools - user mailing list archive at Nabble.com. > > ___ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > -- Edson Tirelli JBoss Drools Core Development JBoss, a division of Red Hat @ www.jboss.com ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] RuleBase.removeRule leads to NoClassDefFoundError
We found the reason for this behaviour, it is a bug which we reported in Jira: https://jira.jboss.org/jira/browse/JBRULES-2098 See the Jira issue for details, code examples reproducing the issue and for a workaround. Regards, Steinar Haugen -- View this message in context: http://www.nabble.com/RuleBase.removeRule-leads-to-NoClassDefFoundError-tp23657476p23707100.html Sent from the drools - user mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users