web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Unanswered

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

(0) ShareShare
ReportReport
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.  

  • LeoAlt Profile Picture
    16,341 Moderator on at

    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

  • Arvind Bhat Profile Picture
    295 on at

    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

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Daniyal Khaleel Profile Picture

Daniyal Khaleel 60 Most Valuable Professional

#2
11manish Profile Picture

11manish 16 Super User 2026 Season 2

#3
Hamza H Profile Picture

Hamza H 8 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans