@Override
    public List<WorkflowDef> getWorkflowDefsLatestVersions() {
        return metadataDAO.getAllWorkflowDefsLatestVersions();
    }
@param event name of the event
@param activeOnly if true, returns only the active handlers
@return Returns the list of all the event handlers for a given event
core/src/main/java/com/netflix/conductor/service/MetadataServiceImpl.java