/// <summary> /// Workflow Type Site/List /// </summary> public string WorkflowType() { var selectSingleNode = NWFXmlDocument.SelectSingleNode(@"/ExportedWorkflowWithListMetdata/WorkflowType"); if (selectSingleNode != null) { return(selectSingleNode.InnerText); } return(string.Empty); }
/// <summary> /// List Associated with Workflow. /// </summary> public string AssociatedListName() { var selectSingleNode = NWFXmlDocument.SelectSingleNode("/ExportedWorkflowWithListMetdata/ListReferences/ListReference/ListName"); if ( selectSingleNode != null) { return(selectSingleNode.InnerText); } return(string.Empty); }
/// <summary> /// Version of Nintex Workflow the export is from. /// </summary> public int VersionOfNintexWorkflow() { try { var selectSingleNode = NWFXmlDocument.SelectSingleNode("/ExportedWorkflowWithListMetdata/Version"); if (selectSingleNode != null) { return(int.Parse(selectSingleNode.InnerText)); } return(0); } catch { return(0); } }