Solved

CRM 3 - workflow requiring a callout?

Posted on 2007-11-19
4
699 Views
Last Modified: 2012-08-14
Hi Experts,

I would like to accomplish something that you would think was fairly simple:

I would like the complete workflow rule and/or callout (if required in C# hopefully) to complete the following issue.

Issue:
That each activity or task (in my case) sends out an email alert to the case.<owner> after the status of the activity or task is = completed.

In the workflow manager it is easy enough to set a rule up to send an email to the owner of the activity although in  my case the person who opens a case might have many different tasks under it assigned to different people.  And instead of just opening there case to see what tasks have been completed the want an email to be sent everytime a task within the case is completed.

Thanks for your help in advance.
0
Comment
Question by:Joesmail
  • 2
4 Comments
 
LVL 9

Expert Comment

by:Biffster007
ID: 20317247
Hi,

So what's the problem here???

I would do this by using a PostSetState callout on the Task entity.  By using the RegardingObjectId field in the Task you can retrieve the case and get the Owner value from there.  Then you would create an Email activity record and send it to the retrieved owner.

Make sense??

Cheers,
MH
0
 
LVL 10

Author Comment

by:Joesmail
ID: 20317697
Hi MH,
I found an article based on the PostSetState Method.  I am very new to CRM although I have coding experience with C# .NET.  I have the book "Working with Microsoft Dynamics CRM 3.0" which contains some minimal info on calling assemblies in a workflow.

http://msdn2.microsoft.com/en-us/library/aa613526.aspx

If you could just provide me with some more guidance I would appreciate it.  

Cheers,
Joe

0
 
LVL 10

Author Comment

by:Joesmail
ID: 20371234
Hi MH,

The RegardingObjectId field in the task entity looks like the go.  Do you know any links you can suggest regarding writing some code using the task entity?
0
 
LVL 8

Accepted Solution

by:
rfgkev earned 500 total points
ID: 20394214
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

This is a walkthrough guide I wrote whilst upgrading my on-premise MS Dynamics CRM 3.0 deployment to 4.0. This covers the actual installation of the product to a working level for my system, I ran into a lot of issues that the steps below fixed so h…
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…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

910 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

20 Experts available now in Live!

Get 1:1 Help Now