[rules-users] Field value is different when and then section, very strange. Is it mvel vs java issue

Greg Barton greg_barton at yahoo.com
Tue Oct 30 13:11:04 EDT 2012


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 <reachkn6 at gmail.com>
To: rules-users at lists.jboss.org 
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
rules-users at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20121030/9aa99719/attachment.html 


More information about the rules-users mailing list