The possibility of choosing for a bpmn diagram a specific version of dmn

Hello,
I want to know the possibility of this case :
I have a bpmn process that contain a dmn decision table, when I deploy dmn and bpmn, It’s work. My process work fine.
I want to choose from a dmn list that has the same key of dmn a specific version (not the last) to be used in my bpmn process.
Cordially

No, that’s currently not possible. The engine has a feature called ‘same deployment’ (but not exposed in the Modeler), but that’s not exactly matching what you’re looking for. Right now, I think the only way to do that is to swap out the default DmnActivityBehavior (https://github.com/flowable/flowable-engine/blob/master/modules/flowable-engine/src/main/java/org/flowable/engine/impl/bpmn/behavior/DmnActivityBehavior.java) with a custom implementation that you add through the ActivityBehaviorFactory: https://github.com/flowable/flowable-engine/blob/master/modules/flowable-engine/src/main/java/org/flowable/engine/impl/bpmn/parser/factory/ActivityBehaviorFactory.java

1 Like