Thanks for the reply. This is the full code:
/declare ObjectOneTwo
value1 : boolean
value2 : boolean
end
rule "first rule"
when
$objectOneTwo : ObjectOneTwo (value1 == false)
then
$objectOneTwo.setValue1(true);
update($objectOneTwo);
end
rule "second rule"
when
$objectOneTwo : ObjectOneTwo (value2 == false)
then
$objectOneTwo.setValue2(true);
update($objectOneTwo); //<-- this is where "first rule" fires once
again (not desired for me and that's the problem)
end
/
Thanks
--
View this message in context:
http://drools.46999.n3.nabble.com/Multiple-variables-problem-tp3349281p33...
Sent from the Drools: User forum mailing list archive at
Nabble.com.