void dsc_GetWorkflowProcessXmlCompleted(object sender, GetWorkflowProcessXmlCompletedEventArgs e) { if (String.IsNullOrEmpty(e.Result)) { return; } //流程图初始化 MemoryStream msin = new MemoryStream(Encoding.UTF8.GetBytes(e.Result)); Dom4JFPDLParser djp = new Dom4JFPDLParser(); this.WorkflowProcessCurrent = djp.parse(msin); loadWorkflow.LoadWorkflowProcessToFrom(this.WorkflowProcessCurrent); //流程跟踪 if (queryString.ContainsKey("ProcessInstanceId")) { GetProcessInstanceTraceXml(queryString["ProcessInstanceId"]); } }
void dsc_GetWorkflowProcessXmlCompleted(object sender, GetWorkflowProcessXmlCompletedEventArgs e) { if (String.IsNullOrEmpty(e.Result)) return; //流程图初始化 MemoryStream msin = new MemoryStream(Encoding.UTF8.GetBytes(e.Result)); Dom4JFPDLParser djp = new Dom4JFPDLParser(); this.WorkflowProcessCurrent = djp.parse(msin); loadWorkflow.LoadWorkflowProcessToFrom(this.WorkflowProcessCurrent); //流程跟踪 if (queryString.ContainsKey("ProcessInstanceId")) { GetProcessInstanceTraceXml(queryString["ProcessInstanceId"]); } }