public List<Task> getListOfPendingTask(String taskType, Integer start, Integer count) {
        List<Task> tasks = executionService.getPendingTasksForTaskType(taskType);
        int total = start + count;
        total = Math.min(tasks.size(), total);
        if (start > tasks.size()) {
            start = tasks.size();
        }
        return tasks.subList(start, total);
    }
Get the list of pending tasks for a given task type.

@param taskType Name of the task
@param start Start index of pagination
@param count Number of entries
@return list of pending {@link Task}
core/src/main/java/com/netflix/conductor/service/AdminServiceImpl.java