-
Bug Report
-
Resolution: Fixed
-
L3 - Default
-
7.13.0
Steps to reproduce
- Model an external task process and assign a version tag
- Deploy the process model
- Start an instance of the process
- Query for external tasks
Expected behavior
I can see the version tag in the result set of the external task query
Observed behavior
The version tag in the result set of the external task query is null.
Root cause
The SQL query selectExternalTaskByQueryCriteriaSql does not select the version tag information
Solution
- Adjust the selectExternalTaskByQueryCriteriaSql to join over ACT_RE_PROCDEF
- Add VERSION_TAG_ to the column selection of selectExternalTaskByQueryCriteriaSql and selectExternalTaskByQueryCriteria (columnSelection)
Hint
See the failing test case:
https://github.com/camunda/camunda-bpm-platform/commit/d7572f815180aaab37e6515f8a76b3a4c761e387
Hi dannykopping,
Thank you for reaching out to us with your question.
I was able to reproduce the problem and can confirm that this is unexpected behavior.
I will forward the bug report for decision making.
Stay tuned!
Best,
Tassilo