[rules-users] inconsistent behaviour with 'not' keyword

techy techluver007 at gmail.com
Tue Apr 28 13:43:23 EDT 2009


Hello
Simplified version of my rule is given below.  Since I want to run this rule
once once, I control it using Bar() fact.
This rule fired inconsistently(i.e sometime it fired, sometime it is not). I
could not also reproduce. Does anybody have the clue for this? Thanks for
the help.

rule "run once"
list : ArrayList(size > 0)  from collect(Foo())
not Bar()
then
insert(new Bar());
end
-- 
View this message in context: http://www.nabble.com/inconsistent-behaviour-with-%27not%27-keyword-tp23282677p23282677.html
Sent from the drools - user mailing list archive at Nabble.com.




More information about the rules-users mailing list