コード例 #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";
 }