Thanks for the response Wolfgang.
I am not calling ksession.fireAllRules(1). I just have
ksession.fireAllRules();
I tried inserting 2 pairs - One product with a price set and the other left
as null. The one with the null still does not fire the 'Set Options Price'
after it's price has been set by the 'Set Price' rule. The one with the
price set before calling 'insert' does fire the rule.
I'm uploading the relevant java,rules and fact definitions along with a
execution log for review.
Thanks again for looking into this.
Gurvinder
http://drools-java-rules-engine.46999.n3.nabble.com/file/n2779772/Sample.drl
Sample.drl
http://drools-java-rules-engine.46999.n3.nabble.com/file/n2779772/DroolsT...
DroolsTest.java
http://drools-java-rules-engine.46999.n3.nabble.com/file/n2779772/Product...
Product.java
http://drools-java-rules-engine.46999.n3.nabble.com/file/n2779772/Option....
Option.java
http://drools-java-rules-engine.46999.n3.nabble.com/file/n2779772/test.log
test.log
--
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.