[rules-users] named consequences for an or...
pmander
paul.s.mander at gmail.com
Mon Jan 20 12:03:41 EST 2014
I could do this:
when
$t : Transaction((org == "us") || (expensive() == "111"))
then
insert(new Record($t, 1));
end
If org is indeed equal to "us" is it guaranteed that expensive() doesn't get
executed?
--
View this message in context: http://drools.46999.n3.nabble.com/named-consequences-for-an-or-tp4027775p4027777.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
More information about the rules-users
mailing list