public Map<String, List<Workflow>> getWorkflows(
            String name, boolean includeClosed, boolean includeTasks, List<String> correlationIds) {
        Map<String, List<Workflow>> workflowMap = new HashMap<>();
        for (String correlationId : correlationIds) {
            List<Workflow> workflows =
                    executionService.getWorkflowInstances(
                            name, correlationId, includeClosed, includeTasks);
            workflowMap.put(correlationId, workflows);
        }
        return workflowMap;
    }
Lists workflows for the given correlation id.

@param name Name of the workflow.
@param includeClosed CorrelationID of the workflow you want to start.
@param includeTasks IncludeClosed workflow which are not running.
@param correlationIds Includes tasks associated with workflows.
@return a {@link Map} of {@link String} as key and a list of {@link Workflow} as value
core/src/main/java/com/netflix/conductor/service/WorkflowServiceImpl.java