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
Solved

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

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
sql Audit table 3 75
Hide vba in gp 7 104
Help with SQL - TOP 10 by date and by group 13 40
SQL Server: SNAPSHOT replication to include a newly added table. 2 30
In SQL Server, when rows are selected from a table, does it retrieve data in the order in which it is inserted?  Many believe this is the case. Let us try to examine for ourselves with an example. To get started, use the following script, wh…
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
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…

828 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