简体   繁体   English

MS Dynamics CRM-仅在选定的日期发送来自CRM的传入电子邮件的外出电子邮件

[英]MS Dynamics CRM - Send Out of office emails only on selected dates for the incoming emails from CRM

I have the scenario where the out of office emails needs to be triggered for the incoming emails on some particular days (say January 1, December 25, October 2) of the year. 我遇到的情况是,需要在一年中的某些特定日期(例如1月1日,12月25日,10月2日)触发外来电子邮件的外出电子邮件。 We have those days as a holiday list. 我们把那几天作为假期清单。

If all the incoming emails which comes on January 1st, then for all the emails the out of office email should be sent back to the email sender from the corresponding CRM mail box. 如果所有传入电子邮件都在1月1日到来,则对于所有电子邮件,外出电子邮件应从相应的CRM邮箱发送回电子邮件发件人。 Need your valid suggestions!!! 需要您的有效建议!!!

My suggested solution would be: 我建议的解决方案是:

  1. Have one custom field in Email activity 'OOF to be sent?' 电子邮件活动“要发送的OOF”中是否有一个自定义字段?
  2. Setup a Pre-operation plugin on Create of Email (Check only for Incoming Email in ExecutionContext) & set the above custom field to 'YES' in target entity itself based on your Holidays config verification 在“创建电子邮件”上设置预操作插件(仅检查ExecutionContext中的传入电子邮件),并根据您的“假期”配置验证,在目标实体本身中将上述自定义字段设置为“是”
  3. Another asynchronous Post create Plugin on Email can send out OOF email based on this custom field value (You can have an UI workflow to send Email using template, this Post create plugin can simply execute this WF to send out OOF email) 另一个基于电子邮件的异步Post create Plugin可以基于此自定义字段值发送OOF电子邮件(您可以使用UI工作流使用模板发送电子邮件,此Post create插件可以简单地执行此WF来发送OOF电子邮件)

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

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