protected BusinessProcessModel createProcess(final String processName) { final String id = "Test" + (new Date()).getTime(); final BusinessProcessModel process = processService.startProcess(id, processName); assertProcessState(process, ProcessState.RUNNING); modelService.save(process); return process; }
protected OrderProcessModel createProcess(final String processName) { final String id = "Test" + (new Date()).getTime(); return processService.startProcess(id, processName); }