[rules-users] controling rule execution
Joe White
Joe.White at recondotech.com
Fri Oct 31 09:21:03 EDT 2008
Another way to do it is a combination of salience and retraction. The
parent rule would have a higher salience value and then retract the
facts in its consequence
Joe
-----Original Message-----
From: rules-users-bounces at lists.jboss.org
[mailto:rules-users-bounces at lists.jboss.org] On Behalf Of Greg Barton
Sent: Thursday, October 30, 2008 11:22 PM
To: Rules Users List
Subject: Re: [rules-users] controling rule execution
A combination of higher priority parent rules with a custom agenda
filter, activated when the parent rule fires, that prevents the child
rule from firing.
Just a guess.
So, after the child rule is initially prevented from firing, can it be
reactivated? If so, when and under what conditions?
--- On Thu, 10/30/08, techy <techluver007 at gmail.com> wrote:
> From: techy <techluver007 at gmail.com>
> Subject: [rules-users] controling rule execution
> To: rules-users at lists.jboss.org
> Date: Thursday, October 30, 2008, 11:18 PM
> Hello,
>
> I would like to have the rules parent/child structure. I
> don't want the
> child rules to be executed when parent's conditions
> are true(i.e
> consequence is executed) even if child's conditions
> are true. How Can I
> achieve that in drools?
> Please clarify.
> --
> View this message in context:
>
http://www.nabble.com/controling-rule-execution-tp20260028p20260028.html
> 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
_______________________________________________
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