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.
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users