As mentioned in the documentation (
http://downloads.jboss.com/drools/docs/4.0.1.14754GA/html/ch06s05.html#d0...
) you can use activation-group's. So you need to give your both rules
the same activation-group name, so when the one rule is being activated,
the other will not be fired. You could use salience to set the priority
of those rules, so you can give the rule 1 a higher priority, so it will
be checked first.
Was that what you where looking for?
prateek.katiyar(a)wipro.com schreef:
Hi
I am using Drools 4.0.
I have two rules in my rule file.The "when" condition of my first rule
is satisfying.Now please tell me that what should i do if i don't want
to execute the second rule?
Thanks.
/*With Regards*/
/*Prateek*/
The information contained in this electronic message and any
attachments to this message are intended for the exclusive use of the
addressee(s) and may contain proprietary, confidential or privileged
information. If you are not the intended recipient, you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of
viruses. The company accepts no liability for any damage caused by any
virus transmitted by this email.
www.wipro.com
------------------------------------------------------------------------
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users