Re: [rules-users] RE: How to stop firing rules from dependent object

2007-11-07 Thread Mark Proctor
you'll have to setup rules that detect the state of the working memory 
that then uses semaphores to control which rules can fire.


Mark
Sikkandar Nawabjan wrote:

Hi,

I have 2 Objects and its corresponding drl/dsls to validate the rule

ObjectA -  A.drl,A.dsl

ObjectB - B.drl,B.dsl

when i insert ObjectA i want the rules in A.drl to be fired.

when i insert ObjectB along with ObjectA i want to fire rules only from B.drl

There are some rule in B.drl requires ObjectA.so i need to insert always 
ObjectA with ObjectB. At the same time i don't want the rule from A.drl

How to do that?

Thanks and Regs,

Basha

  



___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
  


___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] RE: How to stop firing rules from dependent object

2007-11-07 Thread Sikkandar Nawabjan
Hi,

I have 2 Objects and its corresponding drl/dsls to validate the rule

ObjectA -  A.drl,A.dsl

ObjectB - B.drl,B.dsl

when i insert ObjectA i want the rules in A.drl to be fired.

when i insert ObjectB along with ObjectA i want to fire rules only from B.drl

There are some rule in B.drl requires ObjectA.so i need to insert always 
ObjectA with ObjectB. At the same time i don't want the rule from A.drl

How to do that?

Thanks and Regs,

Basha

<>___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users