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(a)gmail.com>
To: rules-users(a)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-...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users