[rules-users] controling rule execution

techy techluver007 at gmail.com
Fri Oct 31 09:24:22 EDT 2008


Thanks Greg.
child rule should be reactivated if parent's conditions for some other fact
are false.
this should happen for  each fact.  Parent's condition should decide whether
child rule should be executed or not for each fact. If parent's conditions
are true, then don't execute child rule and vice versa.


Greg Barton wrote:
> 
> 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
> 
> 

-- 
View this message in context: http://www.nabble.com/controling-rule-execution-tp20260028p20265921.html
Sent from the drools - user mailing list archive at Nabble.com.




More information about the rules-users mailing list