If I understand well you need to get some process variables.
<code>
Map<String, Object> variables = processEngine.getRuntimeService().getVariables(processInstanceId);
</code>
or if you know which variable you want to read.
<code>
Object variableValue = processEngine.getRuntimeService().getVariable(processInstanceId, "variableName");
</code>
if this will not help you maybe you could provide a more detailed example of code of what are you trying to do.