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 <zhaoyi0113(a)gmail.com> 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-tp3...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users