
Hi,
I wanto to know that is that possible to send mail every 7 days like a job or windows service in crm 2015 using c# code. C# code to wrtie a workflow and register it using plugin registration tool. Or is there a way? If i can send mail every 7 days. Later I want to attach an excel file and fill it with firms which will be got from crm account table using fetchxml.
I have codes to retrieve the desired infro from crm . But the automatic email is the problem.
Can anyone help me please?
*This post is locked for comments
I have the same question (0)Hi Muharrem,
there is no "recurring workflow job" in CRM, but there are workarounds.
here is what you can do with the workflows::
www.powerobjects.com/.../setting-up-recurring-workflows-in-dynamics-crm-2016
They are actually using 7 days as an example there..
So, if you created a new "special" entity in CRM, attached a workflow to it, and started that workflow for a record of that entity, CRM would maintain this kind of infinite 7-days loop from there on.
Another approach is described here(this one's my favorite):
www.crmsoftwareblog.com/.../using-the-bulk-deletion-process-to-schedule-recurring-workflows