public void OnDoFlow(Guid guid, FlowDataType.FlowData Arg) { SMTFlowArg e = new SMTFlowArg(guid, Arg); e.WaitForIdle = true; DoFlow(null, e); }
/// <summary> /// 接收事件后处理审批流程 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> public void SMTSubmitEvent_Invoked(object sender, ExternalDataEventArgs e) { SMTFlowArg input = e as SMTFlowArg; this.ApproveInfo = input.FlowData; Root().FlowData = input.FlowData; //Console.WriteLine("事件节点:" + this.Name + "工作流返回结果:" + ApproveInfo.Flow_FlowRecord_T.Content); //以下为处理代码 }