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-question-tp1589567p1589631.html
Sent from the Drools - User mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to