BaseDelegateExecution#getBusinessKey should return process/case instance business key

XMLWordPrintable

      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

        This is the controller panel for Smart Panels app

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

                Created:
                Updated:
                Resolved: