public void registerWorkflowDef(WorkflowDef workflowDef) {
        workflowDef.setCreateTime(System.currentTimeMillis());
        metadataDAO.createWorkflowDef(workflowDef);
    }
@param name Name of the workflow to retrieve
@return Latest version of the workflow definition
core/src/main/java/com/netflix/conductor/service/MetadataServiceImpl.java