21 Jan
Posted by: mitch in: Dynamics CRM, Workflow
I am becoming more and more impressed with the workflow capabilities of CRM 4.0. I am finding that I can create workflows to automate minor tasks to enhance CRM's functionality or to correct what I consider to be "annoyances."
One of these involves the relationship between the Primary Contact for an Account and that Contact's Parent Customer field.
When I set the Primary Contact on an Account, I would like it to automatically edit that Contact's record and update the Parent Customer field to point back to the Account. It's always seemed fairly logical to me to have these two fields linked, but that's not the way it has worked, until now.
We're going to define a workflow based on the Account Entity ( I've renamed my Account Entity to be Company, but it works just the same ). Here's how the initial workflow configuration will look:
Start when:
Available to Run:
1) Check for existing data
1a) If the Primary Contact's Parent Customer Attribute does not contain data, perform the next step:
( Basically, if the user has set the Attribute manually, we don't wish to overwrite their work. )
2) Update the Related Entities: Primary Contact record.
3) Set the Parent Customer Attribute:
This will make our workflow look like this:
Publish the workflow. From this point forward, every time you set the Primary Contact for an Account, the workflow rule will run and if you have not already, it will update the Primary Contact's Parent Customer Attribute to point to the Account.
7 Responses
Srinath N S
27|Mar|2008 1HI.. this piece of information was really usefull for me.. I followed each & every step written in te above Blog, but the workflow is not working i.e when i creat an account & set its primary contact, the contact's parent customer is not being pointed to the Account. what might have gone wrong., could you please help??
Thanks..
Srinath N S
27|Mar|2008 2Hi , the above written piece of information was really useful to me. I followed each & every step written here, but the wrokflow is not working, i.e. when i creat an account & update is primary contact, the primary contact's parent customer is not being pointed to the contact. Where I might have gone wrong..Can you please help in this matter..?
Srinath N S
27|Mar|2008 3Hi , the above written piece of information was really useful to me. I followed each & every step written here, but the wrokflow is not working, i.e. when i create an account & update is primary contact, the primary contact's parent customer is not being pointed to the contact. Where I might have gone wrong..Can you please help in this matter..?
Sheela
20|May|2008 4Hello,
Thanks a lot for the example.
It helped me a lot.
Cheers
Sheela
Stacy
26|Jun|2008 5I got this to work and it is fantastic.
Alex
04|Jul|2008 6Is there a way in CRM 4.0 to automatically populate the contact address, phone and fax details with the details from the parent account. I want to do this not just for future records, but also for exisiting contact records.
mitch
12|Jul|2008 7If you create a contact, by having the parent acount open, selecting contacts, then clicking the new button, any fields that are mapped from the Account to Contact will automatically populate.
If you just open Contacts from the main CRM navigation, then click the new button, this process does not occur.
Leave a reply
Search
Categories
Archives
Meta
Most Viewed
Tags
A design creation of Design Disease
Copyright © 2007 - Mitch Milam's Microsoft Discussions - is proudly powered by WordPress
InSense 1.0 Theme by Design Disease brought to you by HostGator Web Hosting.