cancel
Showing results for 
Search instead for 
Did you mean: 

Deploying Activiti Workflows

mtw999
Champ in-the-making
Champ in-the-making
Hello,

I was working through the Advanced Workflow examples in the ecmarchitect.com article. The article is based on Activiti 5.7 and I have 5.11. As a result, files produced with Activiti Diagrammer differ.

So, with Activiti Plug-in I have the ability to create a deployment of my workflow which generates a bar file that contains the bpmn20.xml file.

I realize I can use the Activiti Workflow Console to deploy that bar file or I can unzip the bar file and use the bpmn20.xml in bean config for workflow deployment (or I can just copy the .bpmn file from diagrammer to bpmn20.xml)

I was just curious though, can I also deploy the bar file from the bean config? If so, what is the mimetype the bar file?

Mike
2 REPLIES 2

lalsamir
Champ in-the-making
Champ in-the-making
I'm having simliar issues. How did you deploy the bar file using the Activiti Workflow Console?

EDIT: Solved.

mtw999
Champ in-the-making
Champ in-the-making
Hi,

It has been some time since I worked on this, but these are notes I have. Sorry if this is not helpful.

You need either a bar file or a bpmn20.xml to deploy and creating and saving  process digram with Activiti will not generate one.

You can generate a bar that contains the the bpmn20.xml by:
1) Creating Activiti project
2) From Package Explorer View, "Create deployment artifacts"

Hope it helps. If it does, please let me know.

MTW999