[rules-users] Need Help On Modify
Sikkandar Nawabjan
Sikkandar.Nawabjan at ustri.com
Mon Jun 11 07:12:40 EDT 2007
Hi,
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,
basha
Message: 1
Date: Mon, 11 Jun 2007 10:20:30 +0530
From: <shilpa.raghavendra at wipro.com>
Subject: [rules-users] Need Help On Modify
To: <rules-users at lists.jboss.org>
Message-ID:
<16D08C962563664288C2B2EC23C47FCB03D8E228 at BLR-SJP-MBX01.wipro.com>
Content-Type: text/plain; charset="us-ascii"
Hi,
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
Rules
Please help me it's urgent
Regards
Shilpa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20070611/bd294612/attachment.html
More information about the rules-users
mailing list