Access Execution in Camunda 8 Process

Trying to map the current processInstanceId as an input parameter into a call activity in Camunda 8. In Camunda 7, I would have specified something along the lines of {execution.getProcessInstanceId}. What is the C8 equivalent?

Seems this is not available at this point. I want to pass the parent id into a call activity. Would be resolved by Get the parent id directly inside the ActivatedJob · Issue #11046 · camunda/zeebe · GitHub

Hi @PieterS,

you can use a variable to identify the process instance with a business defined value.

Sometimes this is even better than a workaround.

Hope this helps, Ingo

2 Likes