Get Business Key in a Multi Instance Service Task

I kick off a workflow with a business key defined. The workflow has a mutli instance service task that iterates through a list. We are trying to access the original Business Key in the service task, but it is always null. How do I get the delegateExecution.getBusinessKey() in a multi instance service task?

TestProcess_with_errors.bpmn (8.7 KB)

Hi @aroberson,

use this method: https://docs.camunda.org/javadoc/camunda-bpm-platform/7.8/org/camunda/bpm/engine/delegate/DelegateExecution.html#getProcessBusinessKey()

Cheers, Ingo