AnsweredAssumed Answered

I can't read into variableIntances

Question asked by pachera.simone on Sep 1, 2014
Latest reply on Sep 2, 2014 by pachera.simone
Hi there,

context :
I deploy my BPM process like this

ProcessInstance processInstance = runtimeService.startProcessInstanceByKey("name_process", variableMap);

problem :
When the process is finished I want to get all my process variables in the easiest way (like this)

Map<String, Object> resultMap = new HashMap<String, Object>();
resultMap.putAll(processIntance.getProcessVariables();

When i do debug after the finish of the process i can see the variables I need into the processIntances, but when I call the code up here the result is always NULL

What can I do? What is the error?

Thank you all

Simone

Outcomes