?
Solved

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

Posted on 2011-03-25
3
Medium Priority
?
798 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 30

Accepted Solution

by:
Feridun Kadir earned 2000 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

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

Automatically creating a Trello card using data from a Microsoft Dynamics CRM record turned out to be an easy project that yielded great results.  Here's how I did this for an internal team at General Code.
For cloud, the “train has left the station” and in the Microsoft ERP & CRM world, that means the next generation of enterprise software from Microsoft is here: Dynamics 365 is Microsoft’s new integrated business solution that unifies CRM and ERP fun…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

771 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