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

Mark Proctor mproctor at codehaus.org
Wed Nov 7 15:23:05 EST 2007


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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20071107/04f8801f/attachment.html 


More information about the rules-users mailing list