Solved

Creating and email activity with workflow fails in Dynamics CRM 4.0.

Posted on 2011-03-25
3
791 Views
Last Modified: 2012-05-11
Hello All,

So I have created a couple of workflows that send an email to a record owner when an activity is created by someone who does not own the record. For example, if Jim Smith is the record owner, and Jane Smith sends an email to that contact, Jim gets an email with the content of the email (added via dynamic fields). The sender and recipent is also determined by dynamic fields. This all worked at one time. I now get the attached error. In addition to this, I changed it so that the email would just get created as a record and then I would manually send this email. This also stopped working. If I user static sender/recipient, it works fine. Any ideas why this has happend?

 "An error has occurred. Try this action again. If the problem continues, check the Microsoft Dynamics CRM Community for solutions or contact your organization's Microsoft Dynamics CRM administrator."


Thanks in advance!
 Workflow Error Workflow content Workflow Content
0
Comment
Question by:daarchive
3 Comments
 
LVL 27

Expert Comment

by:Chinmay Patel
ID: 35219489
Hi daarchive,

I would suggest to check eventlog for any unusual entries.

Also if there are no errors in eventlog, you could enable trace and check why exactly this is failing.

Regards,
Chinmay.
0
 
LVL 29

Accepted Solution

by:
Feridun Kadir earned 500 total points
ID: 35219893
In trying to understand the flow of your workflow, the To in the Create E-mail confused me. you have a dynamic value of Primary Advisor (Regarding(Contact)). Will the Phone Call necessarily have the regarding field completed?

Perhaps that is the problem in that the regarding field is not used and therefore the To recipient of your e-mail is blank.

Did you try clicking on View Properties in the System Job record to see if that showed up anything useful?
0
 
LVL 1

Author Closing Comment

by:daarchive
ID: 35362578
Set Regarding was missing! Thank you.
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

On Sep 22nd 2014 Microsoft released Update Rollup 1 for Microsoft Dynamics CRM 2013 Service Pack 1 and back in July Update Rollup 3 was released.  So we now have:   Update Rollup 1Update Rollup 2Update Rollup 3Service Pack 1Update Rollup 1 for S…
Having trouble getting your hands on Dynamics 365 Field Service or Project Service trial? Worry No More!!!
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question