We have 3 environments : Dev, Test and Prod and currently we use the Activiti Explorer to deploy the workflow changes (.bar file). We are invoking Activity Explorer from our local workspace and connect to each environment to deploy the .bar file. I think this is error prone... Is there a simple way of deploying the .bar file ? Can a automated build process deploy the .bar file instead of using the Activiti explorer. I think that it would be ideal if we could package the .bar with in an .ear file.
I think we should have a very simple process of deploying workflows.
Good point. You can of course deploy the artifact from a piece of Java code using the Activiti RepositoryService.
That gives you the flexibility to deploy the BAR in your preferred way.
So yes you can do it via an automated build, but you would need to write a bit of code for that as well.