This is pretty much expected behaviour. If you modify the facts in working memory and if
the changes satisfy the rule obviously it will fire. So you can do one thing. u can modify
the corresponding DTO such a way that it is not satisfying the predicate logic in the
previous 5 rules.
If the current object is firing again and again u can use the attribute no-loop truue
Any other better options from anybody?
Thanks and Regs,
Date: Mon, 11 Jun 2007 10:20:30 +0530
Subject: [rules-users] Need Help On Modify
Content-Type: text/plain; charset="us-ascii"
I am having set of rules; each DTO (Java Bean with getter
and setter) will go under these rules.
Lets take I am having 10 rules the DTO has to change its
value at 5th rule.
So I am changing the value in DTO and calling modify(DTO),
so what's happening is again this changed DTO is executing form RULE1
I want this DTO to execute from Rule 6 or Exit from all
Please help me it's urgent
Show replies by date