[rules-users] Dependency of firing the rules

Framewala, Ashfaq Y Ashfaq.Framewala at gs.com
Thu Mar 1 03:32:17 EST 2007


Hi Vijay,

Best way to approach this would be having 2 different states.  On
success of rule 2, change the state. Have rule 3 look for this
particular state in its condition. So rule 3 will not get fired unless
rule 2 was successful.

-Ashfaq

-----Original Message-----
From: rules-users-bounces at lists.jboss.org
[mailto:rules-users-bounces at lists.jboss.org] On Behalf Of vijay nooka
Sent: Thursday, March 01, 2007 1:12 PM
To: rules-users at lists.jboss.org
Subject: [rules-users] Dependency of firing the rules


hi all,

I am having 3 rules..second rule should fire  depending on the fire of
first
rule..third rule should fire depending on the fire of second
rule....suppose
after firing the first rule(for firing the first rule i used salience)
the
second rule is not firing due to unsatisfied conditions, so the third
rule 
also should not fire..
how can i approach this..with salience..dependancy is not
possible...next
option is the agenda groups...i don't know exactly how to implement with
agenda-groups..can any one  hep me in this

thanks
vijay
-- 
View this message in context:
http://www.nabble.com/Dependency-of--firing-the-rules-tf3325490.html#a92
45133
Sent from the drools - user mailing list archive at Nabble.com.

_______________________________________________
rules-users mailing list
rules-users at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users




More information about the rules-users mailing list