@Path("{clusterName}/workflows")
  public WorkflowService getWorkflowHandler(@Context jakarta.ws.rs.core.Request request, @PathParam("clusterName") String clusterName) {
    return new WorkflowService(clusterName);
  }
Gets the workflows sub-resource.

@param request      the request
@param clusterName  the cluster name

@return  the workflow service
ambari-server/src/main/java/org/apache/ambari/server/api/services/ClusterService.java