/** * 部署流程 * * @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"; }
public String deployProcess() { workflowManager.deployProcess(); return "main"; }