注(version:5.15.1)
1.部署流程(定义流程)
1 InputStream in = new FileInputStream(file); 2 ZipInputStream zipInputStream = new ZipInputStream(in); 3 processEngine.this.getRepositoryService() 4 .createDeployment() 5 .name(processName) 6 .addZipInputStream(zipInputStream) 7 .deploy();