I am new in camunda and I want to write a expression and want access to extensionElements
like processInstaceId
and formKey
.
how can I do this?
please guide me.
Asked
Active
Viewed 43 times
0

Amir133
- 2,372
- 2
- 18
- 34
1 Answers
0
Not sure what is formKey, but
in groovy script process instance - execution
in java you can take it like this:
import org.camunda.bpm.engine.impl.context.Context
import org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity;
ExecutionEntity execution=Context.getBpmnExecutionContext().getProcessInstance();

daggett
- 26,404
- 3
- 40
- 56