且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

CRM 2011自定义工作流程

更新时间:2023-11-17 18:21:40


I '收到了其他错误或没有错误,但我知道它不起作用

I've received different errors or no errors, but I know its not working

首先,建议您列出问题中的错误。回答您的问题和避免出现-1秒将更加容易。 :)其次,在工作流中使用跟踪服务。

First, I suggest you to list errors in your question. It will be much easier to answer you and to avoid -1s. :) Second, use tracing service in workflow.

ITracingService tracingService = context.GetExtension<ITracingService>();
tracingService.Trace("I'm tracing something....");

如果找不到带有指定电子邮件的 Contact 怎么办?您必须处理这种情况。可能在这里失败。发布有问题的错误日志,以进行检查。

What should happen if Contact with specified email is not found? You have to handle this case. Probably it fails here. Post error log in question, to check this.