{"id":645,"date":"2022-01-04T15:08:09","date_gmt":"2022-01-04T15:08:09","guid":{"rendered":"https:\/\/logicbuilder.integroscrm.com\/help\/?page_id=645"},"modified":"2022-07-28T13:05:34","modified_gmt":"2022-07-28T13:05:34","slug":"create-collection","status":"publish","type":"page","link":"https:\/\/logicbuilder.integroscrm.com\/help\/create-collection\/","title":{"rendered":"Create Collection"},"content":{"rendered":"\n<p><a name=\"abstract\"><\/a>Creates a collection (list) of the given elements directly in the operator or empty collection when there are no inputs.<br>May be used when there is a need to repeat several similar steps, e.g. create tasks that differ only by Subject. In this case, it is possible to create a collection from Tasks Subjects and then through the cycle (see&nbsp;<a href=\"https:\/\/logicbuilder.integroscrm.com\/help\/for-each-element\/\">For Each Element<\/a>) create Tasks.<br>Another use case is to find unique values or sort a list.<\/p>\n\n\n\n<p><strong>inputs:<\/strong><\/p>\n\n\n\n<p><span style=\"color:#6888c9;\">element<\/span> &#8211; input element of the collection. E.g.&nbsp;linked from <span style=\"color:#ec8f45;\">Constants<\/span> operators.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Required: no<\/li><\/ul>\n\n\n\n<p><strong>outputs:<\/strong><\/p>\n\n\n\n<p><span style=\"color:#6888c9;\">collection<\/span> &#8211; created collection&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/img-25-0b2b2f7078dd4440904ca088e293c78c-1024x417.png\" alt=\"\" class=\"wp-image-438\" width=\"559\" height=\"228\" srcset=\"https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/img-25-0b2b2f7078dd4440904ca088e293c78c-1024x417.png 1024w, https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/img-25-0b2b2f7078dd4440904ca088e293c78c-300x122.png 300w, https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/img-25-0b2b2f7078dd4440904ca088e293c78c-768x313.png 768w, https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/img-25-0b2b2f7078dd4440904ca088e293c78c.png 1273w\" sizes=\"auto, (max-width: 559px) 100vw, 559px\" \/><\/figure>\n\n\n<p><a href=\"https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/img-25-2ecb60366f5e4c07b7315143bb5934bb.png\" rel=\"prettyPhoto\"><img decoding=\"async\" src=\"https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/img-25-2ecb60366f5e4c07b7315143bb5934bb-1024x401.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_645' class='yasr-visitor-votes'><div class=\"yasr-custom-text-vv-before yasr-custom-text-vv-before-645\">Click to rate this post!<\/div><div id='yasr-vv-second-row-container-a22e9fc6b0956' \n                                        class='yasr-vv-second-row-container'><div id='yasr-visitor-votes-rater-a22e9fc6b0956'\n                                      class='yasr-rater-stars-vv'\n                                      data-rater-postid='645' \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-a22e9fc6b0956\"><svg xmlns=\"https:\/\/www.w3.org\/2000\/svg\" width=\"20\" height=\"20\" \n                               class=\"yasr-dashicons-visitor-stats\"\n                               data-postid=\"645\" \n                               id=\"yasr-stats-dashicon-a22e9fc6b0956\">\n                            <path d=\"M18 18v-16h-4v16h4zM12 18v-11h-4v11h4zM6 18v-8h-4v8h4z\"><\/path>\n                          <\/svg><span id=\"yasr-vv-text-container-a22e9fc6b0956\" class=\"yasr-vv-text-container\">[Total: <span id=\"yasr-vv-votes-number-container-a22e9fc6b0956\">0<\/span>  Average: <span id=\"yasr-vv-average-container-a22e9fc6b0956\">0<\/span>]<\/span><\/div><div id='yasr-vv-loader-a22e9fc6b0956' class='yasr-vv-container-loader'><\/div><\/div><div id='yasr-vv-bottom-container-a22e9fc6b0956' class='yasr-vv-bottom-container'><\/div><\/div><!--End Yasr Visitor Votes Shortcode--><\/div>","protected":false},"excerpt":{"rendered":"<p>Creates a collection (list) of the given elements directly in the operator or empty collection when there are no inputs.May be used when there is a need to repeat several similar steps, e.g. create tasks that differ only by Subject. In this case, it is possible to create a collection from Tasks Subjects and then &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/logicbuilder.integroscrm.com\/help\/create-collection\/\"> <span class=\"screen-reader-text\">Create 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-645","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\/645","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=645"}],"version-history":[{"count":5,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages\/645\/revisions"}],"predecessor-version":[{"id":2002,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages\/645\/revisions\/2002"}],"wp:attachment":[{"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/media?parent=645"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/tags?post=645"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}