code: @Service
      public List<Workflow> getWorkflows(String name,
                                         String correlationId,
                                         boolean includeClosed,
                                         boolean includeTasks) {
          return executionService.getWorkflowInstances(name, correlationId, includeClosed, includeTasks);
      }
docs: Lists workflows for the given correlation id.
  
  @param name          Name of the workflow.
  @param correlationId CorrelationID of the workflow you want to start.
  @param includeClosed IncludeClosed workflow which are not running.
  @param includeTasks  Includes tasks associated with workflows.
  @return a list of {@link Workflow}