Just ran another test, I removed the check for 'price == null' in the 'Set
Options Price' rule - so the rules now reads :
rule "Set Options price"
salience 50
when
$prod : Product ( )
$option : Option ( product == $prod )
then
System.out.println( "Getting Options " + $prod );
end
Yet, the rule does not fire. It's almost as if the 'Option ( product ==
$prod ) is not being honored. I'm going to change my implementation of
'equals' on the product fact and see what happens next.
Just wanted to provide you'll with an update.
G
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Rule-does-not-fire-af...
Sent from the Drools - User mailing list archive at
Nabble.com.