As soon as you use agenda-group "x" you have two groups: "MAIN" and "x". -W
On 06/12/2011, Esteban Aliverti <[email protected]> wrote: > Are you activating the "add" agenda-group before the fireAllRules() call? > > Best Regards, > > XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX > > Esteban Aliverti > - Developer @ http://www.plugtree.com > - Blog @ http://ilesteban.wordpress.com > > > On Tue, Dec 6, 2011 at 10:45 AM, Zhao Yi <[email protected]> wrote: > >> I just tried and please look at my rule file. It is very simple, after >> fired >> the session, this rule is not fired. I am using drools 5.1.1 and >> statefulsession. Could you please provide your rule file to have a look >> at? >> >> >> rule "add2" >> agenda-group "add" >> dialect "java" >> lock-on-active >> when >> eval(true) >> then >> System.out.println("add2"); >> end >> >> >> -- >> View this message in context: >> http://drools.46999.n3.nabble.com/How-to-let-a-rule-run-only-one-time-tp3550555p3563873.html >> Sent from the Drools: User forum mailing list archive at Nabble.com. >> _______________________________________________ >> rules-users mailing list >> [email protected] >> https://lists.jboss.org/mailman/listinfo/rules-users >> > _______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
