Hi suntrian,

What you are trying to do seems a little confusing.

There are other ways to control which rules fire and which dont.

Perhaps if you explain your problem in business/functional terms, we can help you write the rules the way drools would expect.

Thanks
Ramon

suntrian <suntrian@126.com> wrote:
i need to disable a rule when it is triggered using the  function below
drools.getRule().setEnabled(EnabledBoolean.ENABLED_FALSE);
while
*the rule need to be enabled in another rule.*
how can i make it?



--
View this message in context: http://drools.46999.n3.nabble.com/how-to-enable-and-disable-a-rule-tp4024550.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


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

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.