[rules-users] adding process to an empty rule base

hypnosat7 ablarbi at yahoo.fr
Fri Jul 27 09:59:29 EDT 2007


Is it possible to set the rule flow in my rule base before adding rule
packages :

ruleBase = RuleBaseFactory.newRuleBase();
org.drools.compiler.ProcessBuilder processBuilder = new ProcessBuilder(new
PackageBuilder());
processBuilder.addProcessFromFile(ruleFlow);
ruleBase.addProcess(processBuilder.getProcesses()[0]);

thanks
-- 
View this message in context: http://www.nabble.com/adding-process-to-an-empty-rule-base-tf4157978.html#a11829714
Sent from the drools - user mailing list archive at Nabble.com.




More information about the rules-users mailing list