简体   繁体   English

CRM 2011,查找创建电子邮件的工作流程

[英]CRM 2011, Find workflow that created email

I've been tasked to find out which workflow has a task that creates a certain email. 我的任务是找出哪个工作流程有创建特定电子邮件的任务。 The email that is created is nothing special, all it has is the subject line of Test and the contact and owner information. 创建的电子邮件没有什么特别之处,只有Test的主题行以及联系人和所有者信息。 Since we have a large number of processes is it possible to trace one of these created emails back to the workflow that created it? 由于我们有大量的流程,是否可以将这些创建的电子邮件中的一个追溯到创建它的工作流程?

Thanks 谢谢

As far as I know there is no way to look at the email and know which workflow created it. 据我所知,没有办法查看电子邮件并知道创建它的工作流程。 But if you try the following you should be able to get pretty close or at least narrow down your field of search. 但是,如果您尝试以下操作,您应该能够非常接近或至少缩小您的搜索范围。

If you know when the email was created, the workflow will have been running around that timeframe. 如果您知道电子邮件何时创建,则工作流程将在该时间范围内运行。 So, go to: CRM > Settings > System Jobs, this will show all the workflows and asynchronous tasks that were running so just find ones near the created on of the email and open them up. 因此,请转到:CRM>设置>系统作业,这将显示正在运行的所有工作流程和异步任务,以便在电子邮件创建的附近找到并打开它们。 You can see in the 'process progress' section what steps the workflow has performed and if it has created anything it will show the email. 您可以在“流程进度”部分中看到工作流程执行的步骤,如果已创建任何内容,则会显示该电子邮件。 So you should be able to confirm it that way. 所以你应该能够这样确认。 If that doesn't work (eg because the system jobs are cleared down regularly). 如果这不起作用(例如,因为系统作业定期清除)。

Then you can see what has a dependency on the email, go to: CRM > Settings > Customisations > Customise the System > Entities > Email > Show Dependencies, this will show any processes that do something with an email, so assuming there isn't 100s you can just look at them manually to find the right one. 然后你可以看到什么依赖于电子邮件,转到:CRM>设置>自定义>自定义系统>实体>电子邮件>显示依赖关系,这将显示任何与电子邮件有关的进程,所以假设没有100s你可以手动查看它们以找到合适的。

You could add a marker into the message body or the subject using a code that corresponds to the workflow that created the mail. 您可以使用与创建邮件的工作流相对应的代码将标记添加到邮件正文或主题中。 I haven't built such a thing myself so it's just a suggestion. 我自己没有建立这样的东西,所以这只是一个建议。

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

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