简体   繁体   English

CRM 2011:如何让处理工作流长时间运行

[英]CRM 2011: How to let a processing workflow run very long

I have a crm 2011 workflow with a assembly which will run about 1-3h depending on the amount of data. 我有一个带有组件的crm 2011工作流程,该组件将运行大约1-3h,具体取决于数据量。 How can I make this happen in the sandbox? 我如何在沙盒中做到这一点?

thanks 谢谢

The sandbox service has a processing limit of 2 minutes, so this certainly won't be possible for CRM Online. 沙盒服务的处理限制为2分钟,因此对于CRM Online,这当然是不可能的。 You may be able to update the sandbox processing limit if you are on-premise, but I don't recommend it for a 1-3 hour process, because you'll quickly run out of worker processes and other workflows and plugins will fail. 如果您是本地用户,则可以更新沙盒处理限制,但我不建议您在1-3小时的过程中使用它,因为这样会很快用完工作进程,其他工作流程和插件也会失败。

You should probably set up an external web service that does this work. 您可能应该设置完成此工作的外部Web服务。 Then in your workflow assembly, fire off the external web service. 然后在您的工作流程序集中,启动外部Web服务。 That way you can explicitly control timeouts in a separate web application. 这样,您可以在单独的Web应用程序中显式控制超时。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM