}
}
}
// add the creation log
rootToken.addLog(new ProcessInstanceCreateLog());
// fire the process start event
if (rootToken.getNode()!=null) {
ExecutionContext executionContext = new ExecutionContext(rootToken);
processDefinition.fireEvent(Event.EVENTTYPE_PROCESS_START, executionContext);