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

**URL:** <https://forum.flowable.org/t/the-possibility-of-choosing-for-a-bpmn-diagram-a-specific-version-of-dmn/5661>\
**Category:** Flowable Engine\
**Created:** [March 18, 2020, 12:32pm UTC](https://forum.flowable.org/t/the-possibility-of-choosing-for-a-bpmn-diagram-a-specific-version-of-dmn/5661 "2020-03-18T12:32:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![OumaimaKabouri](https://avatars.discourse-cdn.com/v4/letter/o/e36b37/32.png) [@OumaimaKabouri](https://forum.flowable.org/u/OumaimaKabouri)\
**Post date:** [March 18, 2020, 12:32pm UTC](https://forum.flowable.org/t/the-possibility-of-choosing-for-a-bpmn-diagram-a-specific-version-of-dmn/5661/1 "2020-03-18T12:32:11Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![joram](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/joram/32/26_2.png) [@joram](https://forum.flowable.org/u/joram)\
**Post date:** [March 25, 2020, 8:22am UTC](https://forum.flowable.org/t/the-possibility-of-choosing-for-a-bpmn-diagram-a-specific-version-of-dmn/5661/2 "2020-03-25T08:22:55Z")

</div>

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](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](https://github.com/flowable/flowable-engine/blob/master/modules/flowable-engine/src/main/java/org/flowable/engine/impl/bpmn/parser/factory/ActivityBehaviorFactory.java)
