cancel
Showing results for 
Search instead for 
Did you mean: 

Access variable map passed to process instance

susubhas
Champ in-the-making
Champ in-the-making
How to access variables map passed to any process instance inside process?
The use case is i want to have a process which calls another process thru callActivity, the id of the called process will be dynamic, so i should pass all the input data to called process.
2 REPLIES 2

frederikherema1
Star Contributor
Star Contributor
In a service-tasks implementation (JavaDelegate) you can get all variables you want, using the DelegateExecution object that is passed in the execute() method.

jbarrez
Star Contributor
Star Contributor
you can just do getVariables on the execution you pass. Or go through the runtimeService.getVariables