<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic RE: Filtering collection in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Filtering-collection/m-p/93360#M42954</link>
    <description>&lt;SPAN _mstmutation="1" style=""&gt;Hi,&amp;nbsp;&lt;BR _mstmutation="1" /&gt;&lt;BR _mstmutation="1" /&gt;Here is an example of the second point raised, eliminate the row inside a loop, validating a field of the collections is numeric. The collections does not restart.&lt;BR _mstmutation="1" /&gt;&lt;BR _mstmutation="1" /&gt;You have to change the extension of the .txt file to .bpprocess&lt;BR _mstmutation="1" /&gt;&lt;BR _mstmutation="1" /&gt;I owe you the first point for now, but what the other members are saying is a good option.&lt;BR /&gt;&lt;BR /&gt;You let us know how you have done with these other approaches.&lt;BR _mstmutation="1" /&gt;&lt;BR _mstmutation="1" /&gt;&lt;SPAN _mstmutation="1"&gt;I hope to see you helped&lt;/SPAN&gt;&lt;BR _mstmutation="1" /&gt;&lt;BR _mstmutation="1" /&gt;&lt;SPAN _mstmutation="1"&gt;Best regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Jhogel Ponne&lt;BR /&gt;Senior RPA&lt;BR /&gt;Ernst &amp;amp; Young&lt;BR /&gt;America/Panama&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Thu, 18 Mar 2021 16:29:00 GMT</pubDate>
    <dc:creator>jhogelp</dc:creator>
    <dc:date>2021-03-18T16:29:00Z</dc:date>
    <item>
      <title>Filtering collection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Filtering-collection/m-p/93352#M42946</link>
      <description>&lt;P&gt;Hi team,&lt;BR /&gt;i've a collection with around 30 columns, but for my process i need only 5 columns, i know the name of the column, so how can i filter only these 5 columns and delete the rest?&lt;BR /&gt;I'm able to do that with a loop through "delete column name" collection but i think it's not the best approach, can you suggest some actions?&lt;BR /&gt;&lt;BR /&gt;The second question is: how can i filter this collection and have in ouput a new collection with, for example, column1 only with numeric value, and delete the string/blank values?&lt;/P&gt;
&lt;P&gt;Thanks in advance,&lt;BR /&gt;VH&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Vrat Himbo&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Mar 2021 14:45:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Filtering-collection/m-p/93352#M42946</guid>
      <dc:creator>VratHimbo</dc:creator>
      <dc:date>2021-03-17T14:45:00Z</dc:date>
    </item>
    <item>
      <title>RE: Filtering collection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Filtering-collection/m-p/93353#M42947</link>
      <description>Hi Vrat Himbo,&lt;BR /&gt;&lt;BR /&gt;For the first point, instead of removing the remaining 25 columns, I would create a new collections by extracting the 5 columns that I need.&lt;BR /&gt;&lt;BR /&gt;For the second point in the action filter collection the inputs Filter unless the value of the field you are filtering has a pattern or starts or ends with a certain letter or word it could be filtered but if I can't give you an idea I would add it to a loop where I validate the value of the field with the Functions IsNumber, if it is numeric, the loop continues if not I remove the record with the Business Object: Collections - Action: Remove Rows.&lt;BR /&gt;&lt;BR /&gt;I hope to see you helped&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Jhogel Ponne&lt;BR /&gt;Senior RPA&lt;BR /&gt;Ernst &amp;amp; Young&lt;BR /&gt;America/Panama&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Mar 2021 16:28:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Filtering-collection/m-p/93353#M42947</guid>
      <dc:creator>jhogelp</dc:creator>
      <dc:date>2021-03-17T16:28:00Z</dc:date>
    </item>
    <item>
      <title>RE: Filtering collection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Filtering-collection/m-p/93354#M42948</link>
      <description>"Here be dragons"​ - removing rows from collection in a loop might not work as expected. &lt;BR /&gt;I think Blueprism might restart the loop if dt.Length changes, but not sure atm.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Andrey Kudinov&lt;BR /&gt;Project Manager&lt;BR /&gt;MobileTelesystems PJSC&lt;BR /&gt;Europe/Moscow&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Mar 2021 08:35:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Filtering-collection/m-p/93354#M42948</guid>
      <dc:creator>AndreyKudinov</dc:creator>
      <dc:date>2021-03-18T08:35:00Z</dc:date>
    </item>
    <item>
      <title>RE: Filtering collection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Filtering-collection/m-p/93355#M42949</link>
      <description>Thanks for your response &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/648"&gt;@jhogelp&lt;/a&gt;.&lt;BR /&gt;&lt;BR /&gt;1) How can i extract only my 5 columns?&lt;BR /&gt;&lt;BR /&gt;2)​ If the loop might not work as expected, can be a good approach to loading into the queue and validate the item in the "validate item" page?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Vrat Himbo&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Mar 2021 09:14:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Filtering-collection/m-p/93355#M42949</guid>
      <dc:creator>VratHimbo</dc:creator>
      <dc:date>2021-03-18T09:14:00Z</dc:date>
    </item>
    <item>
      <title>RE: Filtering collection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Filtering-collection/m-p/93356#M42950</link>
      <description>Thanks for your response &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/769"&gt;@AndreyKudinov&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;in your opinion, which can be the best approach to manage an excel input file --&amp;gt; ​collection before it come loaded into the queue?&lt;BR /&gt;My collection has an header, footer and some empty columns to be deleted.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Vrat Himbo&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Mar 2021 09:18:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Filtering-collection/m-p/93356#M42950</guid>
      <dc:creator>VratHimbo</dc:creator>
      <dc:date>2021-03-18T09:18:00Z</dc:date>
    </item>
    <item>
      <title>RE: Filtering collection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Filtering-collection/m-p/93357#M42951</link>
      <description>The &lt;EM&gt;Utility - Collection Manipulation.Split Collection&lt;/EM&gt; action might help you. You provide three collection inputs - the 30 column original, a 5 column template and a 25 column template. The templates cannot be empty but a blank row is enough.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;John Carter&lt;BR /&gt;Professional Services&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Mar 2021 09:23:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Filtering-collection/m-p/93357#M42951</guid>
      <dc:creator>John__Carter</dc:creator>
      <dc:date>2021-03-18T09:23:00Z</dc:date>
    </item>
    <item>
      <title>RE: Filtering collection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Filtering-collection/m-p/93358#M42952</link>
      <description>There is a Split collection action in Collection manipulation that you can use to get only 5 columns you need.&lt;BR /&gt;You can use loop to delete rows, but you better do it in two passes: validate and mark rows for removal in a loop, then just filter them out.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Andrey Kudinov&lt;BR /&gt;Project Manager&lt;BR /&gt;MobileTelesystems PJSC&lt;BR /&gt;Europe/Moscow&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Mar 2021 09:28:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Filtering-collection/m-p/93358#M42952</guid>
      <dc:creator>AndreyKudinov</dc:creator>
      <dc:date>2021-03-18T09:28:00Z</dc:date>
    </item>
    <item>
      <title>RE: Filtering collection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Filtering-collection/m-p/93359#M42953</link>
      <description>You can just pass same template twice, that should work too.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Andrey Kudinov&lt;BR /&gt;Project Manager&lt;BR /&gt;MobileTelesystems PJSC&lt;BR /&gt;Europe/Moscow&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Mar 2021 09:31:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Filtering-collection/m-p/93359#M42953</guid>
      <dc:creator>AndreyKudinov</dc:creator>
      <dc:date>2021-03-18T09:31:00Z</dc:date>
    </item>
    <item>
      <title>RE: Filtering collection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Filtering-collection/m-p/93360#M42954</link>
      <description>&lt;SPAN _mstmutation="1" style=""&gt;Hi,&amp;nbsp;&lt;BR _mstmutation="1" /&gt;&lt;BR _mstmutation="1" /&gt;Here is an example of the second point raised, eliminate the row inside a loop, validating a field of the collections is numeric. The collections does not restart.&lt;BR _mstmutation="1" /&gt;&lt;BR _mstmutation="1" /&gt;You have to change the extension of the .txt file to .bpprocess&lt;BR _mstmutation="1" /&gt;&lt;BR _mstmutation="1" /&gt;I owe you the first point for now, but what the other members are saying is a good option.&lt;BR /&gt;&lt;BR /&gt;You let us know how you have done with these other approaches.&lt;BR _mstmutation="1" /&gt;&lt;BR _mstmutation="1" /&gt;&lt;SPAN _mstmutation="1"&gt;I hope to see you helped&lt;/SPAN&gt;&lt;BR _mstmutation="1" /&gt;&lt;BR _mstmutation="1" /&gt;&lt;SPAN _mstmutation="1"&gt;Best regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Jhogel Ponne&lt;BR /&gt;Senior RPA&lt;BR /&gt;Ernst &amp;amp; Young&lt;BR /&gt;America/Panama&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Mar 2021 16:29:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Filtering-collection/m-p/93360#M42954</guid>
      <dc:creator>jhogelp</dc:creator>
      <dc:date>2021-03-18T16:29:00Z</dc:date>
    </item>
    <item>
      <title>RE: Filtering collection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Filtering-collection/m-p/93361#M42955</link>
      <description>Hi Guys,&lt;BR /&gt;thanks for your support.&amp;nbsp;&lt;BR /&gt;I've tried the bpa process and it works fine.&amp;nbsp;&lt;BR /&gt;My bad is that i'm not able to use the split collection instead because some empty column will be added in the future in this input file.&lt;BR /&gt;So, can be a good approach the one below?&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="29782.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/29914i84A8C7D8E5288443/image-size/large?v=v2&amp;amp;px=999" role="button" title="29782.png" alt="29782.png" /&gt;&lt;/span&gt;1) Delete empty column by column name reported in a collection&lt;BR /&gt;2) Remove the last *fixed number* row&lt;BR /&gt;3) Remove empty rows&lt;BR /&gt;4) Load to the queue&lt;BR /&gt;5) Validate Item (Is numeric?)&lt;BR /&gt;&lt;BR /&gt;Thx&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Vrat Himbo&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 19 Mar 2021 09:57:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Filtering-collection/m-p/93361#M42955</guid>
      <dc:creator>VratHimbo</dc:creator>
      <dc:date>2021-03-19T09:57:00Z</dc:date>
    </item>
  </channel>
</rss>

