Validation Use IWorkflowValidator and DefaultWorkflowValidator to validate workflows before execution.