Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

CRM 3 - workflow requiring a callout?

Posted on 2007-11-19
4
Medium Priority
?
705 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 2000 total points
ID: 20394214
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

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…
Desired Skill Set for Microsoft Dynamics CRM Technical Resources – Part I
Integration Management Part 2
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

926 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