default void validateWorkflowDef(
            @NotNull(message = "WorkflowDef cannot be null") @Valid WorkflowDef workflowDef) {
        // do nothing, WorkflowDef is annotated with @Valid and calling this method will validate it
    }
Validates a {@link WorkflowDef}.

@param workflowDef The {@link WorkflowDef} object.
core/src/main/java/com/netflix/conductor/service/MetadataService.java