Two options when using update or modify:
(a) add a Condition x,b == null (or some other value representing
"undefined") to the rule in X
(b) add rule attribute "no-loop true" to the rule in X
-W
On 13/07/2012, debchamps <majumdar.debarghya(a)gmail.com> wrote:
RuleTable X
Condition Action
x.a == $1 x.b = $param
1 2
RuleTable Y
Condition Action
x.b == $param System.out.println("HELLO")
2
Now both this rules are in same xls file. So what I want is the b to get
updated when RuleTable X is used and when RuleTable Y is used the updation
should reflect when the rules are getting executed.
Is there any way of doing it. I did update() but ended up in infinite loop.
Thanks
--
View this message in context:
http://drools.46999.n3.nabble.com/Updation-of-variables-within-rule-table...
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