Am 19.04.2011 12:56, schrieb saurabh maheshwari:
Hi sir ,
I have 10 rules . rules are created dynamically .Now if any of them is
causing problem so none of them runs
so I want to compile each rule separately , so that i can create
knowledge base with rules which have no errors
but can i do this ?
Roughly like this:
- create one file for each rule containing the rule code
- create a KnowledgeBuilder instance (see documentation for details)
- for each rule file:
|- add file resource to knowledgeBuilder
|- handle all errors
Best regards
Ansgar