[rules-users] Rule does not fire after 'Modify/Update' of a fact - Drools 5.1.1 !

groovenarula gnarula1 at la-z-boy.com
Tue Apr 5 08:59:28 EDT 2011


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/DroolsTest.java
DroolsTest.java 
http://drools-java-rules-engine.46999.n3.nabble.com/file/n2779772/Product.java
Product.java 
http://drools-java-rules-engine.46999.n3.nabble.com/file/n2779772/Option.java
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-after-Modify-Update-of-a-fact-Drools-5-1-1-tp2778508p2779772.html
Sent from the Drools - User mailing list archive at Nabble.com.



More information about the rules-users mailing list