[rules-users] Is it possible to update KnowledgeBase inside a rule?

Sonata plz.write.to at gmail.com
Thu Jun 27 00:02:24 EDT 2013


Say I want to change the loaded packages dynamically base on some Business
logic,
is it possible to update the KnowledgeBase in rule files (not in Java) like
calling addKnowledgePackages() removeKnowledgePackage() etc.?

If it is possible, how do you make it so that the current session is updated
with the changes and re-fire for the new rules?

Or, how do you make it so that the current session is not affected but the
next session will be using the updated KnowledgeBase?

Thank you

P.S. I am using 5.5.0.Final



--
View this message in context: http://drools.46999.n3.nabble.com/Is-it-possible-to-update-KnowledgeBase-inside-a-rule-tp4024578.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list