Possible embed Camunda BPM to Jmix application?

Hi Team,

I have try to embed Camunda BPM to Jmix application.
In build.gradle : use following dependencies:
implementation ‘org.camunda.bpm.springboot:camunda-bpm-spring-boot-starter-webapp:7.17.0’
implementation ‘org.camunda.bpm.springboot:camunda-bpm-spring-boot-starter-rest:7.17.0’
But issue here: Camunda web and Jmix web are using the same port: for example: 8080 as spring boot property: server.port = 8080
That why some time i can and some time can not open the camunda link: http://localhost:8080/camunda/app

Please help me: possible to use Camunda BPM with Jmix in real project?

Hi Nguyen,

As you want to embed Camunda into your app, their UI will work on the same port anyway.

Currently we don’t have the capability to test this integration. If you provide more details and your ideas on what can be the cause, we’ll schedule the work on this issue.

Hi,

Besides the question at hand, just in case you are not aware of it: Camunda only until version supports embedded engine mode. From version 8 onwards they will only allow to access the engine as a dedicated service. See Moving from Embedded to Remote Workflow Engines - Camunda

This means regarding your question: you need to stay on version 7 if you want to run camunda embedded.

Cheers
Mario

Hi Mr. Konstantin, Mr. David,

I have try to embed Camunda for training purpose only. But following architecture is exactly what do we want to build application for our customer.

Embedded-to-Remote-Workflow-image-3-768x437

And in this case, we want to build Jmix application to manage

  1. Embed Camunda BPMN modeler in Jmix application: Create, Edit process definition, save BPMN Process flow version ( like Jmix BPM add-on, but for Camunda).
  2. Defined FormUI and Business logic.( like Jmix BPM add-on)
  3. Deploy and operate process BPM Camunda by REST: Start process , complete, assigned, get history …

Thanks for Jmix BPM add-on base with Flowable. We have many time to try play with this add-on, but in our country, the customers almost love to use Camunda. And very difficult to convince customers to use Flowable.
If Jmix team build other BPM add-on version for Camunda , will be great.
Please give us some advice to realize how to integrate Jmix with Camunda.
Thank you very much!