private List<Process> getProcesses(List<GroupProcess> processUsers) {
    List<Process> processes = new ArrayList<>();

    for (GroupProcess ps : processUsers) {
      processes.add(ps.getProcess());
    }

    return processes;
  }
  private List<ProcessModelVersion> getProcessModelVersions(List<GroupProcess> processUsers) {
    List<ProcessModelVersion> pmvs = new ArrayList<>();

    for (GroupProcess ps : processUsers) {
      for (ProcessBranch branch : ps.getProcess().getProcessBranches()) {
        pmvs.addAll(branch.getProcessModelVersions());
      }
    }

    return pmvs;
  }