将自定义工作流设置为每天在CRM 2013中运行 [英] Set custom Workflow to run daily in CRM 2013

查看:70
本文介绍了将自定义工作流设置为每天在CRM 2013中运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我编写了一个自定义工作流程,该流程已在帐户实体上注册。我希望该工作流每天运行以创建任务。当我在创建的记录中进行注册时,工作流可以正常工作。但是当我每天安排它时,它不会触发。就像24小时之后,它应该自行自动触发

I have written a custom work flow which is registered on account entity . I want this workflow to run daily to create tasks. the workflow works fine when i register it on record created . but it does not trigger when i schedule it for every day. like after 24 hours it should trigger automatically by itself

任何人都可以帮助plz

any one can help plz

推荐答案

两个工作流程:


  • 在创建时运行并触发子项的父项。

  • 触发自定义工作流程活动的递归孩子。

父级工作流程定义。

子工作流程定义。添加了额外的验证步骤以停止计划的过程。当然,需要根据您的需求进行更新。为了清楚起见,可以将状态设置为已取消。

Child workflow definition. Extra validation step added to stop scheduled process on condition. Needs to be updated to your needs, of course. Status can be set to Cancelled for clarity.

请注意,超时是在初始执行之后。这是设计使允许自定义活动工作流在子工作流被父工作流触发后立即运行。

Notice that the timeout is after the initial execution. This is by design to allow the custom activity workflow to run as soon as the child workflow is triggered by the parent workflow.

这篇关于将自定义工作流设置为每天在CRM 2013中运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆