TAMULib / mod-camunda

Apache License 2.0
0 stars 0 forks source link

Migrate to Camunda 8 (Parent Issue). #223

Open kaladay opened 9 months ago

kaladay commented 9 months ago

This is to be used as a parent issue for one ore more sub-issues focusing on individual research/task issues.

Based on the investigation from: https://github.com/TAMULib/mod-camunda/issues/209 , upgrading from Camunda 7 into Camunda 8 is the preferred direction.

Steps to take:

Other potentially useful links:

wwelling commented 5 months ago

The workflows need to be rewritten, see migration guides https://camunda.com/platform-7/migrate/ and https://docs.camunda.io/docs/guides/migrating-from-camunda-7/ .

Why do we need to rewrite our workflows? They are an abstraction defined in mod-workflow in which sends its domain representation to mod-camunda for generation of the BPMN workflow compatible with Camunda. The purpose of mod-workflow is to define an interface specification to avoid exactly what this need is describing. If there is a domain incompatibility between mod-workflow and mod-camunda, we need to document such and determine what is required to be refactored. I suspect mod-camunda will require modification in how it transforms mod-workflow domain representation into BPMN compatible with Camunda 8. Did Camunda 8 has somehow changed the BPMN specification?

https://github.com/TAMULib/mod-camunda/blob/main/src/main/java/org/folio/rest/service/BpmnModelFactory.java#L82