public List<Task> getTasksByName(String taskName, String startKey, int count) {
        return executionDAO.getTasks(taskName, startKey, count).stream()
                .map(TaskModel::toTask)
                .collect(Collectors.toList());
    }
Reset the workflow state by removing from the {@link ExecutionDAO} and removing this workflow
from the {@link IndexDAO}.

@param workflowId the workflow id to be reset
core/src/main/java/com/netflix/conductor/core/dal/ExecutionDAOFacade.java