コード例 #1
0
ファイル: ProcessFlowTest.java プロジェクト: cbarath/custom
 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;
 }
コード例 #2
0
 protected OrderProcessModel createProcess(final String processName) {
   final String id = "Test" + (new Date()).getTime();
   return processService.startProcess(id, processName);
 }