<?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 The Filter action is… in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Collection-Manipulation-Filter-Collection/m-p/59423#M13071</link>
    <description>The Filter action is intended to return all rows matching the criteria. Your requirement seems to be one step more - to filter out unwanted rows and unwanted columns. The current collection utility doesn't have that functionality, but I think you can achieve what you want with another couple of lines of code. Something like this:
'Get filtered rows
Collection_In.DefaultView.RowFilter = Filter
Collection_Out = Collection_In.DefaultView.ToTable()
'Select columns
Dim v As New DataView(Collection_Out)
Collection_Out = v.ToTable(False, Column_Names_CSV.Split("",""))</description>
    <pubDate>Wed, 10 Jan 2018 20:48:00 GMT</pubDate>
    <dc:creator>John__Carter</dc:creator>
    <dc:date>2018-01-10T20:48:00Z</dc:date>
    <item>
      <title>Collection Manipulation - Filter Collection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Collection-Manipulation-Filter-Collection/m-p/59420#M13068</link>
      <description>Just a quick question to anyone who has used the Filter Collection object, which is part of the standard Collection Manipulation Utility.

&amp;nbsp;

How does the syntax for the filter Input work. I have tried to just send variable, as the aim is to get all rows that contain this variable into a separate collection without tampering with the original collection and filtering seemed like an good solution, but without knowing how I filter, it's a bit of a non-starter.

&amp;nbsp;

Any help very much appreciated.

&amp;nbsp;

Thanks,

Jordan Green</description>
      <pubDate>Tue, 09 Jan 2018 21:46:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Collection-Manipulation-Filter-Collection/m-p/59420#M13068</guid>
      <dc:creator>JordanGreen</dc:creator>
      <dc:date>2018-01-09T21:46:00Z</dc:date>
    </item>
    <item>
      <title>Try something like …</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Collection-Manipulation-Filter-Collection/m-p/59421#M13069</link>
      <description>Try something like ""FieldWithoutSpaces &amp;gt; 0 AND [Field With Spaces] = 'abc'</description>
      <pubDate>Tue, 09 Jan 2018 22:26:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Collection-Manipulation-Filter-Collection/m-p/59421#M13069</guid>
      <dc:creator>John__Carter</dc:creator>
      <dc:date>2018-01-09T22:26:00Z</dc:date>
    </item>
    <item>
      <title>I tried using that syntax,…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Collection-Manipulation-Filter-Collection/m-p/59422#M13070</link>
      <description>I tried using that syntax, which now means the object doesn't fail. However, it looks like now it just filters whole collections, rather than extracting the fields with the information that matches the filter.
&amp;nbsp;
Seems that the object filters whole collections rather than the fields within them.</description>
      <pubDate>Wed, 10 Jan 2018 15:35:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Collection-Manipulation-Filter-Collection/m-p/59422#M13070</guid>
      <dc:creator>JordanGreen</dc:creator>
      <dc:date>2018-01-10T15:35:00Z</dc:date>
    </item>
    <item>
      <title>The Filter action is…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Collection-Manipulation-Filter-Collection/m-p/59423#M13071</link>
      <description>The Filter action is intended to return all rows matching the criteria. Your requirement seems to be one step more - to filter out unwanted rows and unwanted columns. The current collection utility doesn't have that functionality, but I think you can achieve what you want with another couple of lines of code. Something like this:
'Get filtered rows
Collection_In.DefaultView.RowFilter = Filter
Collection_Out = Collection_In.DefaultView.ToTable()
'Select columns
Dim v As New DataView(Collection_Out)
Collection_Out = v.ToTable(False, Column_Names_CSV.Split("",""))</description>
      <pubDate>Wed, 10 Jan 2018 20:48:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Collection-Manipulation-Filter-Collection/m-p/59423#M13071</guid>
      <dc:creator>John__Carter</dc:creator>
      <dc:date>2018-01-10T20:48:00Z</dc:date>
    </item>
    <item>
      <title>'Get filtered rows…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Collection-Manipulation-Filter-Collection/m-p/59424#M13072</link>
      <description>'Get filtered rows
Collection_In.DefaultView.RowFilter = Filter
Collection_Out = Collection_In.DefaultView.ToTable()

'Select columns
Dim v As New DataView(Collection_Out)
Collection_Out = v.ToTable(False, Column_Names_CSV.Split("",""))
&amp;nbsp;</description>
      <pubDate>Wed, 10 Jan 2018 20:53:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Collection-Manipulation-Filter-Collection/m-p/59424#M13072</guid>
      <dc:creator>John__Carter</dc:creator>
      <dc:date>2018-01-10T20:53:00Z</dc:date>
    </item>
    <item>
      <title>Sorry - trying to post with…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Collection-Manipulation-Filter-Collection/m-p/59425#M13073</link>
      <description>Sorry - trying to post with line breaks!</description>
      <pubDate>Wed, 10 Jan 2018 20:54:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Collection-Manipulation-Filter-Collection/m-p/59425#M13073</guid>
      <dc:creator>John__Carter</dc:creator>
      <dc:date>2018-01-10T20:54:00Z</dc:date>
    </item>
    <item>
      <title>I want to match anything…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Collection-Manipulation-Filter-Collection/m-p/59426#M13074</link>
      <description>I want to match anything that starts with abc , how do I use the expression.
Like how we use wildcards ""abc""&amp;amp;""-##</description>
      <pubDate>Fri, 12 Jan 2018 15:22:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Collection-Manipulation-Filter-Collection/m-p/59426#M13074</guid>
      <dc:creator>RekhaMurari</dc:creator>
      <dc:date>2018-01-12T15:22:00Z</dc:date>
    </item>
    <item>
      <title>use it - ""FieldName like abc…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Collection-Manipulation-Filter-Collection/m-p/59427#M13075</link>
      <description>use it - ""FieldName like abc*</description>
      <pubDate>Fri, 19 Jan 2018 16:52:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Collection-Manipulation-Filter-Collection/m-p/59427#M13075</guid>
      <dc:creator>VenkatRamana</dc:creator>
      <dc:date>2018-01-19T16:52:00Z</dc:date>
    </item>
    <item>
      <title>VBO - collection…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Collection-Manipulation-Filter-Collection/m-p/59428#M13076</link>
      <description>VBO - collection manipulation
Action - Filter collection</description>
      <pubDate>Fri, 19 Jan 2018 16:53:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Collection-Manipulation-Filter-Collection/m-p/59428#M13076</guid>
      <dc:creator>VenkatRamana</dc:creator>
      <dc:date>2018-01-19T16:53:00Z</dc:date>
    </item>
    <item>
      <title>If we are checking for a…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Collection-Manipulation-Filter-Collection/m-p/59429#M13077</link>
      <description>If we are checking for a specific fund we can use the below expression in the Filter Collection field.
""fund=' "" &amp;amp; ""ABC"" &amp;amp; "" ' ""
&amp;nbsp;
Does anyone knows how I can use OR in the above Filter to include Fund = ""XYZ"" as well?</description>
      <pubDate>Wed, 31 Jan 2018 05:49:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Collection-Manipulation-Filter-Collection/m-p/59429#M13077</guid>
      <dc:creator>HarjyotMalik</dc:creator>
      <dc:date>2018-01-31T05:49:00Z</dc:date>
    </item>
    <item>
      <title>harjyot.malik, as John…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Collection-Manipulation-Filter-Collection/m-p/59430#M13078</link>
      <description>harjyot.malik, as John already noted in the second post, you can use logical operators.
Yours would be:
""fund = 'ABC' OR fund = 'XYZ'""
Tested and worked.
PS: I don't see why you would want to use the &amp;amp; to concatenate a String (only if you want to use data-items)</description>
      <pubDate>Fri, 02 Feb 2018 14:04:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Collection-Manipulation-Filter-Collection/m-p/59430#M13078</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-02T14:04:00Z</dc:date>
    </item>
    <item>
      <title>Hi, does anyone knows if you…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Collection-Manipulation-Filter-Collection/m-p/59431#M13079</link>
      <description>Hi, does anyone knows if you can user lower and upper case in the query?</description>
      <pubDate>Thu, 22 Feb 2018 02:31:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Collection-Manipulation-Filter-Collection/m-p/59431#M13079</guid>
      <dc:creator>Milena_Martinel</dc:creator>
      <dc:date>2018-02-22T02:31:00Z</dc:date>
    </item>
    <item>
      <title>Can we filter all the…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Collection-Manipulation-Filter-Collection/m-p/59432#M13080</link>
      <description>Can we filter&amp;nbsp;all the distinct values in a column ?</description>
      <pubDate>Thu, 19 Jul 2018 20:05:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Collection-Manipulation-Filter-Collection/m-p/59432#M13080</guid>
      <dc:creator>Prem_kumarR</dc:creator>
      <dc:date>2018-07-19T20:05:00Z</dc:date>
    </item>
  </channel>
</rss>

