I create a knowledge base in the typical fashion. I construct a knowledge
builder and add my drl and rf files, then instantiate my knowledge base.
I build my parameter map and then start the process using my knowledge base.
StatefulKnowledgeSession session =
processKnowledgeBase.newStatefulKnowledgeSession();
ProcessInstance processInstance = session.startProcess(name, parameterMap);
session.insert(processInstance);
session.fireAllRules();
I assume this is pretty typical code from what I have read.
Bob
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Flow-process-q...
Sent from the Drools - User mailing list archive at
Nabble.com.