public List<Workflow> getWorkflows(
            String name, String correlationId, boolean includeClosed, boolean includeTasks) {
        Validate.notBlank(name, "name cannot be blank");
        Validate.notBlank(correlationId, "correlationId cannot be blank");

        Object[] params =
                new Object[] {"includeClosed", includeClosed, "includeTasks", includeTasks};
        List<Workflow> workflows =
                getForEntity(
                        "workflow/{name}/correlated/{correlationId}",
                        params,
                        new GenericType<List<Workflow>>() {},
                        name,
                        correlationId);
        workflows.forEach(this::populateWorkflowOutput);
        return workflows;
    }
Retrieve all workflows for a given correlation id and name

@param name the name of the workflow
@param correlationId the correlation id
@param includeClosed specify if all workflows are to be returned or only running workflows
@param includeTasks specify if the tasks in the workflow need to be returned
@return list of workflows for the given correlation id and name
client/src/main/java/com/netflix/conductor/client/http/WorkflowClient.java