locked
Creating a record for a many to many relationship in a workflow RRS feed

  • Question

  • I have a many to many relationship that I want to add records into from a workflow.  I can see the entity but don't see where I relate the parent record to the new record.  Can someone help?

    Thanks, Dale

    Friday, September 6, 2013 10:03 PM

Answers

All replies

  • Dale,

    N:N relationships are not supported by OOB Workflows. Other options would be to use a manual N:N or Connections. Please refer the below for details.

    http://www.dynamicscrmtrickbag.com/2011/05/08/many-to-many-relationships-in-dynamics-crm-2011/

    Not sure of the exact requirement, but there are other ways to add N:N relationship records using custom code.

    HTH


    If my response helps you in finding your answer then please click 'Mark as Answer' and 'Vote as Helpful'

    Friday, September 6, 2013 10:32 PM
  • Hi,

    As Mamatha the parent (similar to lookups on 1:N relationships) for a N:N relationship is not present, because a child does not have one parent. Hence, you could not create it through a workflow. You may use some custom code to achieve this.



    My Weblog | My Website

    Saturday, September 7, 2013 4:38 AM
    Moderator
  • The  dynamicscrmtrickbag.com domain is not working as of 12/29/17. I recommend you use Workflow Tools which is a free workflow solution that can Associate (create N:N relations) records to each other. You can find it on GitHub .com/demianrasko/Dynamics-365-Workflow-Tools
    Friday, December 29, 2017 3:43 PM