Flowable vs DDD

Adept of DDD & Hexagonal architecture I am wondering:
Is it be possible to build business processes definitions programmatically from my domain using a neutral language?

You’d need to translate from your representation to the BPMN representation. The BpmnModel class (and related) can be used to construct a BPMN process model programmatically. It can be deployed by passing it to the RepositoryService#createDeployment method. Simple example here: https://github.com/flowable/flowable-engine/blob/master/modules/flowable-engine/src/main/java/org/flowable/engine/impl/test/AbstractFlowableTestCase.java#L290

1 Like