.getKnowledgeRuntime().getKnowledgeBase().getProcess(processId);
if (process == null) {
System.err.println("Could not find process " + processId);
System.err.println("Aborting process");
((ProcessInstance) getProcessInstance()).setState(ProcessInstance.STATE_ABORTED);
throw new RuntimeDroolsException("Could not find process " + processId);
} else {
ProcessInstance processInstance = ( ProcessInstance )
((ProcessInstance) getProcessInstance()).getKnowledgeRuntime()
.startProcess(processId, parameters);
this.processInstanceId = processInstance.getId();