[rules-users] how to enable and disable a rule

ramon at thebuckland.com ramon at thebuckland.com
Wed Jun 26 02:53:18 EDT 2013


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

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20130626/5e4aeaee/attachment.html 


More information about the rules-users mailing list