Skip to main content

Notifications

Service | Customer Service, Contact Center, Fie...
Unanswered

MS CRM email to case workflow error Creating Entity with an invalid parent. Entity: Incident, ReferencingAttribute:customerid

Posted on by 295

I am trying to create child cases for a case using workflows.  This workflow would trigger on an incoming email to CRM.  I need to set the customerid as the person who sends the email and not the customerid of the parent case.  The two can be different.  While setting it as Sender (Email)/Sender(Contact) it doesn't work and gives the following error:

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

Can the experts out there please help me with this one?

Note:- For the case entity, activities is already marked/ticked under Communication & Collaboration.  

  • Arvind Bhat Profile Picture
    Arvind Bhat 295 on at
    RE: MS CRM email to case workflow error Creating Entity with an invalid parent. Entity: Incident, ReferencingAttribute:customerid

    Thanks a lot Leo for your kind reply.  On creation of an email, I am making a call to this workflow through a post operation plugin.  Its the same as triggering on email creation in CRM.  I have faced this error on trigger of record creation and now as part of an explicit workflow call as well.  Please check the below 2 error snapshots - same trigger and setting of customer id. Am setting the parent case same as you did.  The explanation I am hearing from support is that this is by design.  Email is not meant to be a parent of customer field and if you see the options on the lookup for it are contact and account.  The post subject has the error details, workflow also gives the error in the last snapshot. Can you please explain how did you make this work? Or please point out where I may be going wrong. This is the D365 by the way. 

    pastedimage1570856499485v1.png

    pastedimage1570857431084v2.png

    pastedimage1570858485601v1.png

  • LeoAlt Profile Picture
    LeoAlt 16,329 on at
    RE: MS CRM email to case workflow error Creating Entity with an invalid parent. Entity: Incident, ReferencingAttribute:customerid

    Hi partner,

    Could you share your configuration of your workflow? What's the trigger condition and how did you set value to child case.

    For example, here are my settings.

    1.Set the trigger conditions.

    pastedimage1570783589703v1.png

    2.Set child case customerid value.

    pastedimage1570783669044v2.png

    pastedimage1570783685221v3.png

    And I did not meet the same issue as yours.

    Hope it helps.

    Best Regards,

    Leo

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,902 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,302 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans