{"id":647,"date":"2022-01-04T15:11:10","date_gmt":"2022-01-04T15:11:10","guid":{"rendered":"https:\/\/logicbuilder.integroscrm.com\/help\/?page_id=647"},"modified":"2022-07-28T13:06:19","modified_gmt":"2022-07-28T13:06:19","slug":"add-element-to-collection","status":"publish","type":"page","link":"https:\/\/logicbuilder.integroscrm.com\/help\/add-element-to-collection\/","title":{"rendered":"Add Element To Collection"},"content":{"rendered":"\n<p><a name=\"abstract\"><\/a>Adds an element to the collection. Allows filling a collection within the cycle to filter out particular values or just add an element into the collection after its creation in the flowchart.<\/p>\n\n\n\n<p><strong>inputs:<\/strong><\/p>\n\n\n\n<p><span style=\"color:#6888c9;\">collection<\/span>&nbsp;&#8211; input collection (from <a href=\"https:\/\/logicbuilder.integroscrm.com\/help\/create-collection\/\">Create Collection<\/a> operator or any other operator with square &#8216;collection&#8217; output) to add a new element<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Required: yes<\/li><\/ul>\n\n\n\n<p><span style=\"color:#6888c9;\">element<\/span> &#8211; element to be added into the collection<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Required: yes<\/li><\/ul>\n\n\n\n<p>&nbsp;<strong>outputs:<\/strong><\/p>\n\n\n\n<p><span style=\"color:#6888c9;\">collection<\/span>&nbsp;&#8211; the list of elements with the newly added one<\/p>\n\n\n<p><a href=\"https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/img-26-a6eff785e7874dd18a7f58297b92b368.png\" rel=\"prettyPhoto\"><img decoding=\"async\" src=\"https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/img-26-a6eff785e7874dd18a7f58297b92b368-1024x249.png\" alt=\"\" class=\"wp-image-378\"><\/a><\/p>\n<p><a href=\"https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/img-26-4a8cf723a7e542508c6ed5bd3b89c8e2.png\" rel=\"prettyPhoto\"><img decoding=\"async\" src=\"https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/img-26-4a8cf723a7e542508c6ed5bd3b89c8e2-1024x481.png\" alt=\"\" class=\"wp-image-378\"><\/a><\/p><div style=\"text-align:left\" class=\"yasr-auto-insert-visitor\"><!--Yasr Visitor Votes Shortcode--><div id='yasr_visitor_votes_647' class='yasr-visitor-votes'><div class=\"yasr-custom-text-vv-before yasr-custom-text-vv-before-647\">Click to rate this post!<\/div><div id='yasr-vv-second-row-container-05fa3b6b9edfc' \n                                        class='yasr-vv-second-row-container'><div id='yasr-visitor-votes-rater-05fa3b6b9edfc'\n                                      class='yasr-rater-stars-vv'\n                                      data-rater-postid='647' \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-05fa3b6b9edfc\"><svg xmlns=\"https:\/\/www.w3.org\/2000\/svg\" width=\"20\" height=\"20\" \n                               class=\"yasr-dashicons-visitor-stats\"\n                               data-postid=\"647\" \n                               id=\"yasr-stats-dashicon-05fa3b6b9edfc\">\n                            <path d=\"M18 18v-16h-4v16h4zM12 18v-11h-4v11h4zM6 18v-8h-4v8h4z\"><\/path>\n                          <\/svg><span id=\"yasr-vv-text-container-05fa3b6b9edfc\" class=\"yasr-vv-text-container\">[Total: <span id=\"yasr-vv-votes-number-container-05fa3b6b9edfc\">0<\/span>  Average: <span id=\"yasr-vv-average-container-05fa3b6b9edfc\">0<\/span>]<\/span><\/div><div id='yasr-vv-loader-05fa3b6b9edfc' class='yasr-vv-container-loader'><\/div><\/div><div id='yasr-vv-bottom-container-05fa3b6b9edfc' class='yasr-vv-bottom-container'><\/div><\/div><!--End Yasr Visitor Votes Shortcode--><\/div>","protected":false},"excerpt":{"rendered":"<p>Adds an element to the collection. Allows filling a collection within the cycle to filter out particular values or just add an element into the collection after its creation in the flowchart. inputs: collection&nbsp;&#8211; input collection (from Create Collection operator or any other operator with square &#8216;collection&#8217; output) to add a new element Required: yes &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/logicbuilder.integroscrm.com\/help\/add-element-to-collection\/\"> <span class=\"screen-reader-text\">Add Element To Collection<\/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-647","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\/647","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=647"}],"version-history":[{"count":4,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages\/647\/revisions"}],"predecessor-version":[{"id":2003,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages\/647\/revisions\/2003"}],"wp:attachment":[{"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/media?parent=647"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/tags?post=647"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}