Is there any way to disable a rule? #312
-
Let's say I have 10 rules already written in my .grl file, after some time I want to disable 3 of them. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
As per Drools, there is an attribute 'enabled' using which we can control enable/disable a rule. |
Beta Was this translation helpful? Give feedback.
-
You could create a rule with highest salience and immediately retract rules that you don't need.
|
Beta Was this translation helpful? Give feedback.
You could create a rule with highest salience and immediately retract rules that you don't need.