You can stop the recursive firing by 1) having conditions in the rules that 
stop recursion, (similar to a stop condition in a for loop) and 2) using update 
or modify to tell the rules engine that the properties have changed.  


________________________________
 From: kina06 <[email protected]>
To: [email protected] 
Sent: Tuesday, October 30, 2012 11:39 AM
Subject: Re: [rules-users] Field value is different when and then section, very 
strange. Is it mvel vs java issue
 
Yes I tried account : Account(accountStatus == "NEW")

In above posts it's mentioned that I have to use modify or update, when use
that it fires rules recursively without stopping.

Will it possible to test my code, I can provide the Account class code as
well it's just two fields in it.



--
View this message in context: 
http://drools.46999.n3.nabble.com/Field-value-is-different-when-and-then-section-very-strange-Is-it-mvel-vs-java-issue-tp4020550p4020581.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
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to