Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-12333

The version tag property in the result set of the external task query is always null

      Steps to reproduce

      1. Model an external task process and assign a version tag
      2. Deploy the process model
      3. Start an instance of the process
      4. 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

      1. Adjust the selectExternalTaskByQueryCriteriaSql to join over ACT_RE_PROCDEF
      2. 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

        This is the controller panel for Smart Panels app

            [CAM-12333] The version tag property in the result set of the external task query is always null

            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

            Tassilo Weidner added a comment - 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

            Hey Tassilo, thanks for the quick response!
            Really like the workflow you guys have - with a failing test attached to the ticket.

            I'll keep an eye out for the patch release

            Cheers

            Danny Kopping added a comment - Hey Tassilo, thanks for the quick response! Really like the workflow you guys have - with a failing test attached to the ticket. I'll keep an eye out for the patch release Cheers

            Hi dannykopping,

            Thanks for the feedback

            Best,
            Tassilo

            Tassilo Weidner added a comment - Hi dannykopping , Thanks for the feedback Best, Tassilo

            Hi Danny,

            Thanks for submitting this bug report. Due to other priorities we cannot schedule it for implementation as of now. If you would like to contribute a fix, we would be happy to assist you.

            Cheers,
            Thorben

            Thorben Lindhauer added a comment - Hi Danny, Thanks for submitting this bug report. Due to other priorities we cannot schedule it for implementation as of now. If you would like to contribute a fix, we would be happy to assist you. Cheers, Thorben

            Hiren Pandit added a comment -

            Opened a PR #103 to fix this.

             

            Regards,

            Hiren

            Hiren Pandit added a comment - Opened a PR #103  to fix this.   Regards, Hiren

              tassilo.weidner Tassilo Weidner
              dannykopping Danny Kopping
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: