Solved

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

Posted on 2011-03-25
3
782 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 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

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

Suggested Solutions

So every once in a while at work I am asked to export data from one table and insert it into another on a different server.  I hate doing this.  There's so many different tables and data types.  Some column data needs quoted and some doesn't.  What …
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

746 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now