Skip to main content

Notifications

Announcements

No record found.

Service | Customer Service, Contact Center, Fie...
Suggested answer

Automatic Case Creation - System ignores the email if Regarding is already set - Is this a bug or by-design

Posted on by 170

Hi, 

I was trying to configure Automatic Case Creation using the Automatic Record creation and update feature, however i've seen some weird behavior which appears to be a bug. 

I've configured the system to create cases when email direction is incoming - very straight forward. So every time an email is received a case should be created. No other option on the page is checked.

Scenario 1 : When an email is created and sent out from CRM and Regarding is not populated.

Behavior : When the email is responded to, a case is created by the system. 

Scenario 1 : When an email is created in CRM and Regarding of that email is populated with any entity record.

Behavior : When the email is responded to, a case is not created by the system. The system job runs and succeeds.

This happens regardless of what is set (Regarding or Sender) on the Customer field on the Case properties page. It looks like it just disregard this setting and tries to check the Regarding field to associate the case with an account or contact.

I was able to confirm this behavior by simply creating a workflow. If the Customer field on the case properties is set to anything else other than "Regarding", the workflow will fail with one of the following errors - 

Microsoft.Crm.CrmSecurityException: Creating Entity with an invalid parent. Entity: Incident, ReferencingAttribute:customerid

Creating Entity with an invalid parent. Entity: Incident, ReferencingAttribute:customeridDetail: 

Please specify an Account or Contact. 

Why does it disregard the dynamic value set for the Customer field and goes straight to check the regarding field? Has anyone noticed this behavior and found a workaround? 

  • Suggested answer
    Shahis Profile Picture
    Shahis 170 on at
    RE: Automatic Case Creation - System ignores the email if Regarding is already set - Is this a bug or by-design

    I found a workaround to this. I had to create a workflow to create cases instead and in the workflow i had to add an update step to update the regarding of the email and set it to the newly created case.

  • Suggested answer
    shil12 Profile Picture
    shil12 30 on at
    RE: Automatic Case Creation - System ignores the email if Regarding is already set - Is this a bug or by-design

    Hi shahis,

    Go through the below link. I hope this information is useful to you in learning about automatic case creation.

    Managing cases with Dynamics 365 Customer Service

    Thanks

    shilpa

    Web: https://www.dynamicslabs.io/

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Automatic Case Creation - System ignores the email if Regarding is already set - Is this a bug or by-design

    Hello,

    According to my test, the case will create even if the Regarding is populated. You can see the following screenshots:

    Email:

    6052.Email.png

    Case:

    3225.Case.png

    So I think this may be a bug on your side. You best option is to contact MS Support at here(admin.powerplatform.microsoft.com/support).

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!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans