web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Send email every week (7 days after 7 days) in workflow using c# in crm 2015

(0) ShareShare
ReportReport
Posted on by 262

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)
  • Verified answer
    ashlega Profile Picture
    34,477 on at

    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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans