Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Error creating case from email in custom workflow

Posted on by 20

I have a custom workflow for converting email to case, where I want the Regarding-object from the email to be the customer-object in the case.

This is for internal company use, so I've made sure the regarding-field contains a contact.

Still I get the message "The case is missing a customer" even if I have mapped in Regarding from email in the customer field of the case.

This is the error:

pastedimage1565252427228v1.png

And this is the mapping in the workflow:

pastedimage1565252466020v2.png

I'm a bit confused about the whereabouts of all the related objects in the workflow builder. Which object should I use for Customer when all I have is an email and a new case?

And I want the contact in Regarding to be the customer in the case?

Regards,

John Martin

*This post is locked for comments

  • jmkvalsund Profile Picture
    jmkvalsund 20 on at
    RE: Error creating case from email in custom workflow

    Sorry, case solved. The case was trying to be created in the inbound  rule of the  queue and at that time the Email  doesn´t exist in CRM. Hence no regarding field and contact as well.

  • jmkvalsund Profile Picture
    jmkvalsund 20 on at
    RE: Error creating case from email in custom workflow

    Hi,

    tried both:

    1: Success - used the same account for customer in case as set to "Regarding" in email

    2: Success - Hardcoded same account for customer in the workflow for creating case

    As I mentioned, I don't quite understand which of the selectable values in the workflow editor returns valid objects i.e. as an account. Are there any documentation available for that purpose?

    Regards,

    John Martin

  • RE: Error creating case from email in custom workflow

    Hi John,

    Before narrowing down issue, can you check following things

    1. Create case manually with same details and see if its throwing any error?

    2. In the workflow builder once hardcode some customer and try to create.

    am just suspecting is it something to do with the customer you are trying. so please once try these options.

    Note: In case my answer helped you. Kindly mark it as verified.

    Warm Regards,

    Pavan Kumar Garlapati

    Follow my Blog: https://pavankumargarlapati.wordpress.com

  • Suggested answer
    Pawar Pravin  Profile Picture
    Pawar Pravin 5,227 on at
    RE: Error creating case from email in custom workflow

    Hi There,

    Could you please check once where regarding object is either contact or account only ?

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