예제 #1
0
        void dsc_GetWorkflowProcessXmlProcessIdOrVersionCompleted(object sender, GetWorkflowProcessXmlProcessIdOrVersionCompletedEventArgs 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"]);
            }
        }
예제 #2
0
        void dsc_GetWorkflowProcessXmlProcessIdOrVersionCompleted(object sender, GetWorkflowProcessXmlProcessIdOrVersionCompletedEventArgs 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"]);
            }
        }