예제 #1
0
 /**
  * 部署流程
  *
  * @return
  */
 public String deployProcessReal() {
   try {
     if (workflowFile != null) {
       InputStream in = new FileInputStream(workflowFile);
       ZipInputStream zip = new ZipInputStream(in);
       workflowManager.deployProcess(zip);
       in.close();
       zip.close();
       result = "successful";
     }
   } catch (Exception e) {
     e.printStackTrace();
   }
   return "workflowMgr";
 }
예제 #2
0
 public String deployProcess() {
   workflowManager.deployProcess();
   return "main";
 }