Need a sample java example to model a BPM without using a editor


#1

Hi I was unable to find a example which deploys a BPM model by taking bpmn from a file deploy it and test it.

That will make easier as I need not go for a editor at all. I can play by chnaging xml file itself.

A simple BPM such as Start, Task, condition, approvalEnd, rejectedEnd. This will suffice. The java code should read BPM, deploy complete a task and process should end. There should be no need to create a any local website


#2

You can build a model with java using the fuild builder API, this could build the model you’re interested in.

Then you could test it in a unit test in the way you described by using the Camunda BPM Assert project.