if (parameterValue != null) {
parameters.put(mapping.getKey(),parameterValue);
}
}
String processId = getSubProcessNode().getProcessId();
Process process = ((InternalRuleBase) ((ProcessInstance) getProcessInstance())
.getWorkingMemory().getRuleBase()).getProcess(processId);
if (process == null) {
System.err.println("Could not find process " + processId);
System.err.println("Aborting process");
((ProcessInstance) getProcessInstance()).setState(ProcessInstance.STATE_ABORTED);