Comment unsuccessful. Please correct the errors below.

Recurrent workflow in CRM 3

From time to time a question comes up in the newsgroups how to create a workflow rule that follows some recurrent pattern. For example, just yesterday surfbluedog (not her real name) asked:

The rule needs to wait for a 6 week period from the oncreate date. This sounds pretty simple. Well during this 6 week period, 2 messages (activities) need to be sent out...

... the messages need to be sent out twice daily throughout the 6 week period.

As a word is worth 1/1000th of a picture, I've decided to create an illustrated guide on how to complete the challenge. In this example we are going to create a rule for account entity that, after an account is created, will send a message on a daily basis until the deadline.

First of all, workflow in Microsoft CRM 3 does not have a concept of looping flow control statements in any shape or form. To create a recurrent pattern we need to use a manual rule that calls itself as the last step of execution (with some conditions, of course, to stop it from looping indefinitely). [more]

Manual rule

  1. Start Workflow Manager and, no, you don't have to do it on the server.
  2. Create new manual rule for account entity called, say, Send a message:
    New manual rule
  3. First of all, we need to save 6 weeks deadline somewhere to be able to use it later in a condition. Arithmetic is not the strongest feature of the CRM workflow but a call to the date/time workflow assembly included with CRM is to the rescue:
    Workflow assembly call
  4. Name action Saved Deadline
  5. Double-click Date and time and specify Created On  as a source value:
    Source value for adding date/time
  6. Double-click Days and specify static value of 42 (love it!). Sorry, no weeks allowed:
    42 days == 6 weeks
  7. Your assembly call should now look like this:
    Assembly call in action
  8. Now we can check if deadline has passed and stop the workflow if it did. Click Insert Condition->Check condition. In if part click Insert Condition->Check entity condition.
  9. Select Saved Deadline as an entity (I knew it'll come handy!). Select <= condition and Execution Time static value as a right-hand-side:
    Check the deadline
  10. In then section insert Stop action. Select Complete when asked how do you want to stop your workflow.
  11. Since the rule is going to be called in a loop, we now need to wait 1 day until sending the next message. Select end if line, click Insert Condition->Wait for timer. Specify 1 day from now on:
    Wait for 1 day
  12. Now, the meaty part, sending the actual message. Insert Action->Send e-mail. Fill in details as required by your process, we are simply going to remind user that 6 weeks are not up yet:
    Send annoying e-mail
  13. Save the rule. Yes, we want the rule to call itself but until it's saved, it's not available to be called.
  14. Open the rule, select the last line, click Insert Action->Run subprocess. Select Send a message subprocess.
  15. Your manual rule should look like this:
    Completed manual rule

Jump-starting the rule

Now we are ready to automate the process to start sending spam notifications after an account is created.

  1. Create another workflow rule, this time event is Create:
    New Create rule
  2. This rule is a very simple one-liner: Insert Action->Run subprocess. Select Send a message subprocess. Your rule should now look like this:
    Completed jump-start rule

We are done! Now simply activate both rules by selecting them (you can use Shift and Ctrl keys to select more than one rule) and click Activate toolbar button. As soon as new account record is created, the manual rule is going to kick in and annoy record owner with daily e-mails for 6 weeks. Which is exactly what we wanted.

Posted by: George Doubinski
Last revised: 05 Dec, 2012 05:25 PM


30 Nov, 2016 01:22 PM

In case of talking about stopping your workflow, you can rely upon information from Cheapest essay writing service

30 Nov, 2016 01:23 PM

In case of talking about stopping your workflow, you can rely upon information from Cheapest essay writing service

06 Dec, 2016 08:49 AM

It is wonderful information and get good knowledge and ideas from this article. The author is giving good thoughts and suggestions to each reader through this article. The good advantages of this article are giving good thought to each reader and it is giving good impressions. Looking forward to another article. last time I visit write my essay this website also awesome Honey then again has many useful nutrients, enzymes, and antioxidants; uncooked honey is first-class as standard honey processing

Goran Kostic
Goran Kostic
09 Jan, 2017 01:32 PM

Novim zivotnim prostorom mnogi pa i beograd selidbe, smatraju I novim poglavljem u zivotu sto je jos jedan od razloga da kompletnoj selidbi pristupite krajnje pozitivno. Do idealnog I lakog scenarija tesko da se u ovom slucaju moze doci ali barem sebi maksimalno olaksajte celokupnu proceduru.

jessica alex
jessica alex
13 Feb, 2017 01:09 PM

Thanks for such a great article here. I was searching for something like law assignment help this for quite a long time and at last I’ve found it on your blog. It was definitely interesting for me.

12 May, 2017 06:10 AM

I see in the post some images of the different software. I would like to say that the article is really very good. Some people use for in the software. keep it up. rubber gym flooring rollst

12 May, 2017 08:06 PM

I'm very pleased to discover this web site. I need to to thank you for ones time for this wonderful read!! I definitely loved every part of it and I have you book-marked to see new stuff in your blog. best assignment writing service

16 May, 2017 12:35 PM

This one helps in avoiding any accident that is likely to happen as a result of poor mechanical maintenance and cause injuries to students or deaths. I just want to say bundles of thanks for creating this informative blog about CRM Rules. heavy duty tarpaulin sheet for sale in UK

23 Jun, 2017 06:01 AM

I am very impressed by the way you share nice and valuable content. I am a great admirer of such types of websites. The design is good. The information contained in this website is full of informative insights.[url=""]german language course in germany universities[/url]

05 Jul, 2017 11:31 AM

This is a man talking to about for the all people listing to in the speech. This is a man talking to about for the every visitor in the post. I am very happy to see in the work. Top Quality Gym Flooring

07 Jul, 2017 01:20 PM

You have done essay writing service uk a great job on this article. It’s very readable and highly intelligent. You have even managed to make it understandable and easy to read. You have some real writing talent. Thank you.

10 Jul, 2017 07:46 AM

What a awesome post shared. I read many these types of post but this is very useful and informational. I am totally agree with you. Thanks for shared this information. trolley wheels manufacturer

12 Jul, 2017 07:17 AM

Arthur telling the some information related the some software use for the computer. I am glad to know that the article is really very good. I really like to it for here. keep it up. high quality of rubber sound deadening

emerald watson
emerald watson
08 Aug, 2017 11:06 AM

Amazing get terraria apk

07 Sep, 2017 11:44 AM

This post is very wonderful for all of those, who want to tourism services of the Dubai. I shall consult about this with my partner. Thanks for sharing in the post. keep it up. custom bumper roll stickers printing

21 Oct, 2017 05:56 AM

root checker Root Checker is an Android Application which allows you to check whether your Android phone or tablet is rooted or not

30 Oct, 2017 09:02 AM

It is really hard to decide which beauty products work best for our skin, what is in style nowadays and how can we apply that to our daily make-up routine.Now you don’t need to worry about any of these things as we have created for you a list of products. These beauty products are a must have in the fall of 2017.

06 Nov, 2017 07:23 AM

Google Tag Manager has changed the way we apply scripts and tags on websites as a whole. Still most of the marketers are not using this exceptional tool and are not capitalizing on its amazing benefits. [URL=]5 amazing ways to capitalize on google tag manager [/URL]

20 Nov, 2017 08:27 AM

Lionel Messi is current one of the most rich football players in the world. Furthermore, he has an annual salary of 36 million euros. He gets a performance bonus of 3 million euros. He has one of the biggest contracts in the world with Barcelona. For Full List Visit the link:

30 Nov, 2017 10:06 AM

I guide the students that how they can pass the exams and how can they get the certification for the latest knowledge this certification exam students click at project management institute pmp certification its better for your bright future and will helpful to attain the IT certification

07 Dec, 2017 12:55 PM

International Sports Express brings to you the latest sports news and controversies keeping you updated with trends and tracks records of your favorite teams and players.

07 Dec, 2017 12:57 PM

International Sports Express brings to you the latest sports news and controversies keeping you updated with trends and tracks records of your favorite teams and players.

20 Jan, 2018 07:34 AM

hi thanks very good post great i like دانلود فیلم ایرانی

Your Comments

Comment unsuccessful. Please correct the errors below.
Used for your gravatar. Not required. Will not be public.
Posting code? Indent it by four spaces to make it look nice. Learn more about Markdown.