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

BaseDelegateExecution#getBusinessKey should return process/case instance business key

    Details

      Description

      The current behavior of BaseDelegateExecution#getBusinessKey [1] is rather useless because there is no value in cases when the method returns null. Users often confuse this with #getProcessBusinessKey.

      AT:

      • #getBusinessKey works like #getProcessBusinessKey
      • it could make sense to mention this in the update guide

      Side note:

      • The motivation for the introduction of #getProcessBusinessKey (see [2]) does not make much sense because persistence does not require an API method.

      [1] https://docs.camunda.org/javadoc/camunda-bpm-platform/7.7/org/camunda/bpm/engine/delegate/BaseDelegateExecution.html#getBusinessKey()
      [2] https://github.com/camunda/camunda-bpm-platform/commit/7f261f14b067e3586a8553a0862f15f835f0d135

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            thorben.lindhauer Thorben Lindhauer
          • Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development