Activiti部署zip

tiantangqiu發表於2014-09-10
通過一個壓縮檔案(支援Zip和Bar)部署業務歸檔,它看起來像這樣:

String barFileName = "path/to/process-one.bar";
ZipInputStream inputStream = new ZipInputStream(new FileInputStream(barFileName));

repositoryService.createDeployment()
.name("process-one.bar")
.addZipInputStream(inputStream)
.deploy();

相關文章