I use KB methods directly
For adding/updating a rule, I create a temporary instance of
KnowledgeBuilder and add the rule to check if there are any errors.
If there are no errors, I first remove (if rule needs to be updated) the
previous rule by calling this ...
Then I add the new rule ...
View this message in context:
Sent from the Drools: User forum mailing list archive at Nabble.com