AnsweredAssumed Answered

Simple starter for Activiti + Spring + JPA (full JAVA)

Question asked by accelinn on Sep 19, 2014
Latest reply on Sep 24, 2014 by accelinn
Hi all,

I'm just trying to implement activiti engine into my application, and i have a lot of difficulties to understand and do anything.

I have configured Activiti with Spring and JPA backend.

I just want, for the moment, to create, save, load, edit and axport a simple Process. But all of that in JAVA ! No XML file.

I built a BpmnModel with embedded Process following provided test samples in github.

When i try to store it into my RepositoryService, no way to understand …

BpmnModel model = createModel();
DeploymentBuilder deploymentBuilder = repositoryService.createDeployment();
deploymentBuilder.addBpmnModel("test", model);
deploymentBuilder.deploy();


Nothing is saved into database.

Some help or links to working examples are welcome.

Thank you !

Outcomes