public int getWorkflowVersion() {
        Utils.checkNotNull(workflowDefinition, "Workflow definition is null");
        return workflowDefinition.getVersion();
    }
Convenience method for accessing the workflow definition version.

@return the workflow definition version.
core/src/main/java/com/netflix/conductor/model/WorkflowModel.java