public XElement GetFullWorkflowElement(WorkflowEntity workflow) { var wie = new WorkflowImportExport(workflow); return(wie.ToXml(this)); }