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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Workflow throwing an error.

(0) ShareShare
ReportReport
Posted on by 6

Hello All Experts,

I am experiencing the below error in one of the workflow.

Regarding entity with object type 10010 does not have a relationship with object type 8002.

 


Can anyone help me in resolving this.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    Hi,

    according to this thabisomotloung.wordpress.com/.../list-of-object-types-in-dynamics-crm-2015

    You have a problem with the post functionality of crm or Activity feed: www.powerobjects.com/.../microsoft-dynamics-crm-activity-feed-part-3-working-with-rules

    Did disable/delete some relationships?

    As it is MS OOTB functionalities, I would open a MS support ticket

  • EmployeeOcta Profile Picture
    6 on at

    If you open Microsoft support ticket.

    till the response come i will wait.

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi EmployeeOcta ,

    probably this error is caused by solution imported to another environment.

    In target environmen the reference point to an entity which hold a different entity code.

    Please verify the entity code in source and target environment to confirm my suspect.

    If this scenario is confirmed, you need to re-create your relation in target environment.

    After that, i suggest to backup target environment over source environment.

    Please let us know.

    If you found the answer helpful, please mark as Verified 

    Join my network on LinkedIn      Follow me on Twitter 

    Thank You & Best Regards

    Francesco Picchi

    Microsoft Dynamics CRM Consultant, Bologna+Milano, ITALY

    Independent Contractor

    http://www.francescopicchi.com

  • Community Member Profile Picture
    on at

    Hi,

    I am just suggesting that you if I were you I would open a support ticket. At least it is your problem and I am just here to make some suggestion in order to mitigate your problem :)

  • EmployeeOcta Profile Picture
    6 on at

    Hello Francesco Picchi,

    thanks for your suggestion, may be you are correct , but this is happening in dev as well as test environment.

    although i will cross check your suggestion, just need more help in this.

    i am having online instance so how could i check the entity code?

    @Guillaume Domont ,

    Thanks for making it clear , sorry from my end as initially i din't understand your point.

  • Suggested answer
    imayur Profile Picture
    630 on at

    Hi,

    If its Non OOB entity object code could be different for the respective environment. Hence the error. Please  edit the workflow step, if you are setting Regarding value dynamically , clear the field and set it again.

  • EmployeeOcta Profile Picture
    6 on at

    Hello Mayur,

    What to do in production then?

  • Suggested answer
    imayur Profile Picture
    630 on at

    Is it custom workflow activity or OOB workflow?

    If its OOB try editing the workflow step, if you are setting Regarding value dynamically , clear the field and set it again then save and activate.

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi EmployeeOcta,

    just check in default solution the entity node or use the following code to retrieve entity code over environments:

    RetrieveEntityRequest request = new RetrieveEntityRequest();
    request.LogicalName = "yourentitylogicalname";

    RetrieveEntityResponse response = (RetrieveEntityResponse)service.Execute(request);
    int entitycode = response.EntityMetadata.ObjectTypeCode.Value;

    Please let me know if you solve.

    If you found the answer helpful, please mark as Verified 

    Join my network on LinkedIn      Follow me on Twitter 

    Thank You & Best Regards

    Francesco Picchi

    Microsoft Dynamics CRM Consultant, Bologna+Milano, ITALY

    Independent Contractor

    http://www.francescopicchi.com

  • EmployeeOcta Profile Picture
    6 on at

    Hello Mayur,

    As you said i have done like that, can you let me know where can i see these posts.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans