[rules-users] How to let a rule run only one time

Zhao Yi zhaoyi0113 at gmail.com
Tue Dec 6 04:45:24 EST 2011


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.



More information about the rules-users mailing list