@Override public ProcessInstanceUUID instantiateProcess(final ProcessDefinitionUUID processUUID, final Map<String, Object> variables) throws ProcessNotFoundException, VariableNotFoundException { return instantiateProcess(processUUID, variables, null); }
@Override public ProcessInstanceUUID instantiateProcess(final ProcessDefinitionUUID processUUID, final Map<String, Object> variables, final Collection<InitialAttachment> attachments) throws ProcessNotFoundException, VariableNotFoundException { return instantiateProcess(processUUID, variables, attachments, null); }
/** * Create an instance of the specified process and return the processUUID */ public ProcessInstanceUUID instantiateProcess(final ProcessDefinitionUUID processUUID) throws ProcessNotFoundException { return instantiateProcess(processUUID, null); }
@Override public ProcessInstanceUUID instantiateProcess(final ProcessDefinitionUUID processUUID, final ActivityDefinitionUUID activityUUID) throws ProcessNotFoundException { try { return instantiateProcess(processUUID, null, null, activityUUID); } catch (final VariableNotFoundException e) { // must never occur throw new BonitaRuntimeException(e); } }
/** * Create an instance of the specified process and return the processUUID */ @Override public ProcessInstanceUUID instantiateProcess(final ProcessDefinitionUUID processUUID) throws ProcessNotFoundException { try { return instantiateProcess(processUUID, null, null); } catch (final VariableNotFoundException e) { // must never occur throw new BonitaRuntimeException(e); } }