IRuntimeElement childRuntimeData = null;
IRuntimeRepository runtimeRepository = PentahoSystem.get( IRuntimeRepository.class, session );
// the runtime repository is optional
if ( runtimeRepository != null ) {
runtimeRepository.setLoggingLevel( loggingLevel );
childRuntimeData = runtimeRepository.newRuntimeElement( instanceId, "instance", !persisted ); //$NON-NLS-1$
String childInstanceId = childRuntimeData.getInstanceId();
// audit the creation of this against the parent instance
AuditHelper.audit( instanceId, session.getName(), getActionName(), getObjectName(), processId,
MessageTypes.INSTANCE_START, childInstanceId, "", 0, this ); //$NON-NLS-1$
}