1. Integrate activity webapps (explorer and rest) to a web server 2. Need to bundle a custom BPMN flow (.bar / bpmn20.xml file) to activiti, and let it be deployed automatically once the web server starts up
#1 is a simple requirement of bundling the activiti webapps. How do I do #2? As I understand, activity does not allow us to put the .bar/.bpmn20.xml file in a specified location in the activiti webapp and let it deployed automatically. What would be the best way to do this? Came across [1] as a programmatic way of doing it, but how does I access the correct repository service to store the process definition in the correct database ?