{"id":909,"date":"2022-01-19T16:21:05","date_gmt":"2022-01-19T16:21:05","guid":{"rendered":"https:\/\/logicbuilder.integroscrm.com\/help\/?page_id=909"},"modified":"2022-06-10T10:07:22","modified_gmt":"2022-06-10T10:07:22","slug":"link-entities","status":"publish","type":"page","link":"https:\/\/logicbuilder.integroscrm.com\/help\/link-entities\/","title":{"rendered":"Link Entities"},"content":{"rendered":"\n<p><a name=\"abstract\"><\/a>Links two given records between each other. Can be used for many-to-many and one-to-many relationships, and flex-relates. Doesn&#8217;t work for just related field created in Studio, as this is actually not a relationship.<\/p>\n\n\n<div style=\"background-color: #ddeaff; border-left: 6px solid #0072b3; padding: 12px;\">\n<p>Link Entities do not perform save of the entity, neither it requires Save Entity operator after it.<\/p>\n<\/div>\n\n\n<p><strong>inputs:<\/strong><\/p>\n\n\n\n<p><span style=\"color:#ef6950;\">object entity<\/span> &#8211; input the first record<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Required: yes<\/li><\/ul>\n\n\n\n<p><span style=\"color:#ef6950;\">subject entity<\/span> &#8211; input the second record<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Required: yes<\/li><\/ul>\n\n\n\n<p><span style=\"color:#9ed267;\">link name<\/span> &#8211; relationship name between two modules by which it is needed to link records. The list appears when object and subject entities are defined.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Required: yes<\/li><\/ul>\n\n\n\n<p><strong>outputs:<\/strong><\/p>\n\n\n\n<p><span style=\"color:#ef6950;\">object entity<\/span> &#8211; the record related to subject one<\/p>\n\n\n\n<p><span style=\"color:#ef6950;\">subject entity<\/span> &#8211; the record related to object one<\/p>\n\n\n<p><a href=\"https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/img-90-7644e73ad71441819a3a9fa35ffb33b4.png\" rel=\"prettyPhoto\"><img decoding=\"async\" src=\"https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/img-90-7644e73ad71441819a3a9fa35ffb33b4-1024x280.png\" alt=\"\" class=\"wp-image-378\"><\/a><\/p>\n\n\n<p><\/p>\n<div style=\"text-align:left\" class=\"yasr-auto-insert-visitor\"><!--Yasr Visitor Votes Shortcode--><div id='yasr_visitor_votes_909' class='yasr-visitor-votes'><div class=\"yasr-custom-text-vv-before yasr-custom-text-vv-before-909\">Click to rate this post!<\/div><div id='yasr-vv-second-row-container-0042249416a9e' \n                                        class='yasr-vv-second-row-container'><div id='yasr-visitor-votes-rater-0042249416a9e'\n                                      class='yasr-rater-stars-vv'\n                                      data-rater-postid='909' \n                                      data-rating='0'\n                                      data-rater-starsize='24'\n                                      data-rater-readonly='false'\n                                      data-rater-nonce='fa81b01ba5' \n                                      data-issingular='false'\n                                    ><\/div><div class=\"yasr-vv-stats-text-container\" id=\"yasr-vv-stats-text-container-0042249416a9e\"><svg xmlns=\"https:\/\/www.w3.org\/2000\/svg\" width=\"20\" height=\"20\" \n                               class=\"yasr-dashicons-visitor-stats\"\n                               data-postid=\"909\" \n                               id=\"yasr-stats-dashicon-0042249416a9e\">\n                            <path d=\"M18 18v-16h-4v16h4zM12 18v-11h-4v11h4zM6 18v-8h-4v8h4z\"><\/path>\n                          <\/svg><span id=\"yasr-vv-text-container-0042249416a9e\" class=\"yasr-vv-text-container\">[Total: <span id=\"yasr-vv-votes-number-container-0042249416a9e\">0<\/span>  Average: <span id=\"yasr-vv-average-container-0042249416a9e\">0<\/span>]<\/span><\/div><div id='yasr-vv-loader-0042249416a9e' class='yasr-vv-container-loader'><\/div><\/div><div id='yasr-vv-bottom-container-0042249416a9e' class='yasr-vv-bottom-container'><\/div><\/div><!--End Yasr Visitor Votes Shortcode--><\/div>","protected":false},"excerpt":{"rendered":"<p>Links two given records between each other. Can be used for many-to-many and one-to-many relationships, and flex-relates. Doesn&#8217;t work for just related field created in Studio, as this is actually not a relationship. Link Entities do not perform save of the entity, neither it requires Save Entity operator after it. inputs: object entity &#8211; input &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/logicbuilder.integroscrm.com\/help\/link-entities\/\"> <span class=\"screen-reader-text\">Link Entities<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"yasr_overall_rating":0,"yasr_post_is_review":"","yasr_auto_insert_disabled":"","yasr_review_type":"","footnotes":""},"tags":[],"class_list":["post-909","page","type-page","status-publish","hentry"],"yasr_visitor_votes":{"number_of_votes":0,"sum_votes":0,"stars_attributes":{"read_only":false,"span_bottom":false}},"_links":{"self":[{"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages\/909","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/comments?post=909"}],"version-history":[{"count":3,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages\/909\/revisions"}],"predecessor-version":[{"id":1741,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages\/909\/revisions\/1741"}],"wp:attachment":[{"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/media?parent=909"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/tags?post=909"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}