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: <[EMAIL PROTECTED]>
Subject: [rules-users] Need Help On Modify
To: <[email protected]>
Message-ID:
        <[EMAIL PROTECTED]>
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


 
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to