asp.net中的报销多级审批工作流项目加上跟踪服务
作者 佚名技术
来源 NET编程
浏览
发布时间 2012-05-20
1 9:10:43,
Status: Created Date: 2009-3-1 9:10:43,
Status: Started Date: 2009-3-1 9:10:57,
Status: Unloaded Date: 2009-3-1 9:10:57,
Status: Persisted Date: 2009-3-1 9:13:40,
Status: Loaded Date: 2009-3-1 9:13:40,
Status: Idle Date: 2009-3-1 9:13:40,
Status: Unloaded Date: 2009-3-1 9:13:40,
Status: Persisted Date: 2009-3-1 10:31:43,
Status: Loaded Date: 2009-3-1 10:31:43,
Status: Unloaded Date: 2009-3-1 10:31:43,
Status: Persisted Date: 2009-3-1 10:31:45,
Status: Loaded Date: 2009-3-1 10:31:45,
Status: Idle Date: 2009-3-1 10:31:45,
Status: Unloaded Date: 2009-3-1 10:31:45,
Status: Persisted Activity Events Activity: Workflow1 Date: 2009-3-1 9:10:43
Status: Executing Activity: whileActivity1 Date: 2009-3-1 9:13:40
Status: Executing Activity: sequenceActivity1 Date: 2009-3-1 9:13:40
Status: Executing Activity: listenActivity1 Date: 2009-3-1 9:13:40
Status: Executing Activity: eventDrivenActivity1 Date: 2009-3-1 9:13:40
Status: Executing Activity: OnStaffSubmit Date: 2009-3-1 9:13:40
Status: Executing Activity: OnStaffSubmit Date: 2009-3-1 9:13:40
Status: Closed Activity: eventDrivenActivity1 Date: 2009-3-1 9:13:40
Status: Closed Activity: listenActivity1 Date: 2009-3-1 9:13:40
Status: Closed Activity: sequenceActivity1 Date: 2009-3-1 9:13:40
Status: Closed Activity: sequenceActivity1 Date: 2009-3-1 9:13:40
Status: Executing Activity: listenActivity1 Date: 2009-3-1 9:13:40
Status: Executing Activity: eventDrivenActivity3 Date: 2009-3-1 10:31:43
Status: Executing Activity: OnPMSubmitMin Date: 2009-3-1 10:31:45
Status: Executing Activity: OnPMSubmitMin Date: 2009-3-1 10:31:45
Status: Closed Activity: eventDrivenActivity3 Date: 2009-3-1 10:31:45
Status: Closed Activity: listenActivity1 Date: 2009-3-1 10:31:45
Status: Closed Activity: sequenceActivity1 Date: 2009-3-1 10:31:45
Status: Closed Activity: sequenceActivity1 Date: 2009-3-1 10:31:45
Status: Executing Activity: listenActivity1 Date: 2009-3-1 10:31:45
Status: Executing
注意:跟踪服务是和数据库打交道的,我们需要清楚它的系统开销,这里为了简单我们创建一个控制 台的工作流,工作流中拉入一个codeActivity,执行代码为: private void codeActivity1_ExecuteCode(object sender, EventArgs e) { Console.WriteLine("codeActivity1执行了!"); } 客户端程序代码为: //数据库连接串 private static String strConn = ""; static void Main(string[] args) { WorkflowRuntimeSection config; config = ConfigurationManager.GetSection("WorkflowWithTracking") as WorkflowRuntimeSection; //数据库连接串 strConn = config.CommonParameters["ConnectionString"].Value; using (WorkflowRuntime workflowRuntime = new WorkflowRuntime ("WorkflowWithTracking")) { |
凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢! |
你可能对下面的文章感兴趣
上一篇: asp.net中的报销多级审批工作流中调用WCF下一篇: ASP.NET页的客户端
关于asp.net中的报销多级审批工作流项目加上跟踪服务的所有评论