ExecutionService execService = this.processEngine.getExecutionService();
ProcessInstanceQuery query = execService.createProcessInstanceQuery();
query.processDefinitionId(String.valueOf(procDefId));
List<ProcessInstance> processInstances = query.list();
List<ProcessInstanceRef> results = adoptProcessInstances(processInstances);
// add history info
// TODO: optimize w. batch query