List<SolutionTaskInboxData> inboxList = new ArrayList<SolutionTaskInboxData>();
Iterator<Task> taskIt = tasks.iterator();
while(taskIt.hasNext()) {
Task taskRecord = taskIt.next();
Solution linkedSolution = solutionService.findEntityByProcessId(taskRecord.getProcessInstanceId());
SolutionTaskInboxData inboxData = new SolutionTaskInboxData(linkedSolution, taskRecord, messageSource, currentLocale);
inboxList.add(inboxData);
}
return inboxList;
}