Dynamics CRM:安排工作流程

发布于 2024-11-11 02:33:49 字数 164 浏览 2 评论 0原文

在我的 CRM 中,我的应用程序应该由工作流程每分钟检查和处理一次。 我想知道是否有使用某种cron 任务调度 来自动化这些东西。我对 CRM 还比较陌生。

我应该如何使用标准 CRM 工具或第三方插件来制作上述内容?

苏丹。

In my CRM I've applications which should be checked and processed by a workflow once a minute.
I was wondering if there anyway to automate this stuff using some sort of cron task or scheduling. I'm relatively new to CRM.

What should I do to make the stuff above, using standard CRM tools, or third party plugins?

Sultan.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

等数载,海棠开 2024-11-18 02:33:49

CRM 没有一个好的方法来处理这个问题。以下是 CRM 中通常可用的选项:

  1. 创建一个运行的工作流程,检查您需要它执行的操作,等待一段时间并递归调用自身。如果您需要检查的时间间隔超过一分钟,这可能会起作用,但是,CRM 在工作流程中内置了循环检测,并且每分钟运行一次肯定会触发该循环检测。
  2. 创建一个代表您的流程之一的实体。创建一个工作流,该工作流在创建该实体后启动,等待一分钟,然后创建实体的新记录。这样,工作流就不会递归地调用自身,并且不会触发 CRM 的循环检测。但是,您正在创建大量虚拟记录和工作流实例,在此场景中需要清理它们。

我认为这两者都有点hacky。我想说,如果您需要每分钟检查一次某项内容,我会将其放在 CRM 外部的 Windows 服务或计划任务中。 CRM 没有内置此功能。

CRM doesn't have a good way of handling this. Here are the options generally available inside CRM:

  1. Create a workflow that runs, checks what you need it to do, waits for a period of time and calls itself recursively. If the interval you needed to check at was longer than a minute, this might work, however, CRM has loop detection built into the workflows, and running them once a minute will definitely trigger that.
  2. Create an entity that represents one of your processes. Create a workflow that kicks off after create of this entity, waits one minute, and then creates a new record of your entity. This way, the workflow isn't calling itself recursively and it shouldn't trigger CRM's loop detection. However, you're creating a lot of dummy records and workflow instances that you'll need to clean up in this scenario.

I think both of these are kind of hacky. I would say that if you need to check something once every minute, I'd put it outside CRM in a Windows Service or a Scheduled Task. CRM just doesn't have this capability built in.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文