AnsweredAssumed Answered

Creating a new process deployment using ZipInputStream

Question asked by krishnanganapathy on Feb 15, 2012
Latest reply on Feb 16, 2012 by krishnanganapathy
We are experimenting with Activiti for use in our application to create and manage workflows on the fly. Ideally we would be packaging new workflows in the form of a zip file and would be uploading it into our app. The process definition should get added to the repository on the fly.

We were looking at using the processEngine.getRepositoryService().createDeployment().addZipInputStream(zipInputStream) method to do so. However we are not finding suitable documentation on how to use i.e. how the zip file should be packaged, where the bpmn20.xml should be placed (under META-INF/ or any other folder) and what other contents can be include in the zip file. We were looking at Activity 5.7, the javadocs dont give much info into it. Can someone point me to a place where i can get this info.

Thanks
Krishnan

Outcomes