Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Can a workflow be used to change a Case Customer name from a Contact name to a Account name

Posted on by Microsoft Employee

For Cases that have been opened under a Contact Name, is there a way with a workflow to get the case Customer name changed to an Account name. We have a need for cases to be opened under a Contact name to auto populate Contact information in the case.

We also need the cases to reside under an Account for consistency.

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Can a workflow be used to change a Case Customer name from a Contact name to a Account name

    Brilliant, thank you.

    I thought I had tried that combination but apparently not.

  • Suggested answer
    Nithya Gopinath Profile Picture
    Nithya Gopinath 17,074 on at
    RE: Can a workflow be used to change a Case Customer name from a Contact name to a Account name

    Hi Robsat,

    You could create a workflow to update the case record the on creation and on change of the contact field.

    See the screenshots below.

    1321.2.PNG

    1321.2.PNG

    Hope this helps.

  • Suggested answer
    Gary Letter Profile Picture
    Gary Letter 1,267 on at
    RE: Can a workflow be used to change a Case Customer name from a Contact name to a Account name

    If the Case is created with a Contact in the Customer field, you could use a workflow similar to the one pictured below. If you need to "auto populate Contact information" to the Case, then you will need to execute those steps before this step updates the Customer to the Account.

    3666.Capture2.PNG

    3666.Capture2.PNG

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Can a workflow be used to change a Case Customer name from a Contact name to a Account name

    Your first reply for mapping the case appears to be what we would need. I guess this is as good a time as ever to break down and do some Java Scripting.

    Thanks for the reply.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Can a workflow be used to change a Case Customer name from a Contact name to a Account name

    I can't tell whether you want to clone a case and map it to an account, or you just want another field to capture the account.

    For cloning, you can refer to this. But this is not practical if you think about it, the same case has a double count in the system (due to reporting purpose).

    community.dynamics.com/.../154338

    To map the account name from the contact name, you can do a simple JS.

    >retrieve/create account with name = contact name

    >create a new field in case and set the field value to the account lookup

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans