-
Type:
Bug Report
-
Resolution: Fixed
-
Priority:
L3 - Default
-
Affects Version/s: 7.13.0
-
Component/s: engine
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
- is related to
-
CAM-10393 I can use version tag when fetching and locking external tasks
-
- Closed
-