Description
Creates an N:N relationship between 2 records. The duplicate detection parameter enables a check to see if the relationship already exists before trying to create a new one.
Signature
AssociateEntities( 'entityNameLeft', 'entityLeftGuid', 'entityNameRight', 'entityRightGuid', 'relationshipName', 'duplicatedetection' )
Example
AssociateEntities( 'account', '90dd379c-ee2f-11db-5555-0800200c9a55', 'lead', '30dd379c-4444-11db-8314-0800200c9a55', 'new_accountleads', 'true' )
Parameters
Name | Type | Description | Required |
---|---|---|---|
entityNameLeft | xxxx | xxxx | xxxx |
entityLeftGuid | xxxx | xxxx | xxxx |
entityNameRight | xxxx | xxxx | xxxx |
entityRightGuid | xxxx | xxxx | xxxx |
relationshipName | xxxx | xxxx | xxxx |