public Collection<VariableSummary> getVariablesCurrentState( long processInstanceId, String processId) { Map<String, String> properties = new HashMap<String, String>(bpmn2Service.getProcessData(processId)); return VariableHelper.adaptCollection( dataService.getVariablesCurrentState(processInstanceId), properties, processInstanceId); }