<?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: How to apply filter inn utility collection in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/How-to-apply-filter-inn-utility-collection/m-p/72046#M24651</link>
    <description>Hi Kumari,&lt;BR /&gt;&lt;BR /&gt;It's not so much a case of converting the text to a number, but converting the number to text.&lt;BR /&gt;&lt;BR /&gt;So you have the field in the collection to filter e.g. FieldA (text) and the value to filter by ValueA (Integer).&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"[FieldA] &amp;lt; '"&amp;amp;[ValueA]&amp;amp;"'"&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;You can see here that the Field isn't converted, but we have now set the Value as text by putting it between ' ' .This is the expected format for the utility to carry out the desired function.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ben Lyons&lt;BR /&gt;Product Consultant&lt;BR /&gt;Blue Prism&lt;BR /&gt;UK&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Thu, 29 Jul 2021 07:29:00 GMT</pubDate>
    <dc:creator>Ben.Lyons1</dc:creator>
    <dc:date>2021-07-29T07:29:00Z</dc:date>
    <item>
      <title>How to apply filter inn utility collection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-apply-filter-inn-utility-collection/m-p/72038#M24643</link>
      <description>Hi All,&lt;BR /&gt;Please help me out with the below query as soon as possible.&lt;BR /&gt;I have two collection lets say data1 and data2.&amp;nbsp;&lt;BR /&gt;data1 has 'temp' column and data2 has also 'temp' column.&lt;BR /&gt;Both these collection i am getting from Excel. So in collection its coming in text format&amp;nbsp;&lt;BR /&gt;Now i want to apply filter in data2&amp;nbsp;&lt;BR /&gt;my filter condition is like:&lt;BR /&gt;To number([data1.Temp]) &amp;lt; To number([data2.Temp])&amp;nbsp;&lt;BR /&gt;but in this way its going somewhere wrong and giving me the full collection in output&amp;nbsp;&lt;BR /&gt;I think there some syntax error i am doing . Please help i this.&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Kumari Yadav&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Jul 2021 10:12:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-apply-filter-inn-utility-collection/m-p/72038#M24643</guid>
      <dc:creator>KumariYadav1</dc:creator>
      <dc:date>2021-07-28T10:12:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to apply filter inn utility collection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-apply-filter-inn-utility-collection/m-p/72039#M24644</link>
      <description>Hi Kumari,&lt;BR /&gt;&lt;BR /&gt;There is a specific syntax required for filtering collections, see &lt;A href="https://portal.blueprism.com/customer-support/support-center#/path/Automation-Design/Studio/Visual-Business-Objects/1194312962/What-is-the-syntax-for-an-expression-used-by-the-Filter-Collection-action.htm" target="_blank" rel="noopener"&gt;this article&lt;/A&gt; in the Support Center for more details.&lt;BR /&gt;&lt;BR /&gt;Let us know if you still need some assistance on how to apply this to your use case.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ben Lyons&lt;BR /&gt;Product Consultant&lt;BR /&gt;Blue Prism&lt;BR /&gt;UK&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Jul 2021 10:48:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-apply-filter-inn-utility-collection/m-p/72039#M24644</guid>
      <dc:creator>Ben.Lyons1</dc:creator>
      <dc:date>2021-07-28T10:48:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to apply filter inn utility collection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-apply-filter-inn-utility-collection/m-p/72040#M24645</link>
      <description>Hi Ben&amp;nbsp;&lt;BR /&gt;Unfortunately I am not getting my desired result&lt;BR /&gt;Filter condition I gave:"[Replacefield.Temp] &amp;gt; '"&amp;amp;190&amp;amp;"'"&lt;BR /&gt;I am not sure if condition is in right way or not whether i need to convert it into number or nor .I tried in that way also by converting then in that way also i was getting error. So if you can provide with the correct Condition, that will be great.&lt;BR /&gt;Error i am getting:&lt;BR /&gt;Internal : Could not execute code stage because exception thrown by code stage: Cannot find column [Replacefield.Temp].&lt;BR /&gt;Replacefeld Collection is an output collection which i am using in filter .&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="27721.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/27848i5E7550E144C29EBC/image-size/large?v=v2&amp;amp;px=999" role="button" title="27721.png" alt="27721.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Kumari Yadav&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Jul 2021 11:18:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-apply-filter-inn-utility-collection/m-p/72040#M24645</guid>
      <dc:creator>KumariYadav1</dc:creator>
      <dc:date>2021-07-28T11:18:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to apply filter inn utility collection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-apply-filter-inn-utility-collection/m-p/72041#M24646</link>
      <description>Hi Kumari,&lt;BR /&gt;&lt;BR /&gt;You don't need to specify the collection name, this should just be the field name. The collection is already specified in the collection input parameter.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ben Lyons&lt;BR /&gt;Product Consultant&lt;BR /&gt;Blue Prism&lt;BR /&gt;UK&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Jul 2021 12:13:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-apply-filter-inn-utility-collection/m-p/72041#M24646</guid>
      <dc:creator>Ben.Lyons1</dc:creator>
      <dc:date>2021-07-28T12:13:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to apply filter inn utility collection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-apply-filter-inn-utility-collection/m-p/72042#M24647</link>
      <description>yes i tried in that way also but not getting the result.&lt;BR /&gt;Actually Temp Column is in Text format and we need to convert that into number. And yes i tried ToNumber("Temp")&amp;gt;190&lt;BR /&gt;but this also fails. So I know some syntax error i am doing but not getting what exactly wrong goin here . Thatswhy asking that if you&amp;nbsp; can provide the syntax for current scenario that would much helpful.&amp;nbsp;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Kumari Yadav&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Jul 2021 13:59:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-apply-filter-inn-utility-collection/m-p/72042#M24647</guid>
      <dc:creator>KumariYadav1</dc:creator>
      <dc:date>2021-07-28T13:59:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to apply filter inn utility collection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-apply-filter-inn-utility-collection/m-p/72043#M24648</link>
      <description>Hi Kumari,&lt;BR /&gt;&lt;BR /&gt;In my test I didn't need to convert the format. I just used "[Field1] &amp;lt; '2'".&lt;BR /&gt;&lt;BR /&gt;Is this not working for you?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ben Lyons&lt;BR /&gt;Product Consultant&lt;BR /&gt;Blue Prism&lt;BR /&gt;UK&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Jul 2021 15:09:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-apply-filter-inn-utility-collection/m-p/72043#M24648</guid>
      <dc:creator>Ben.Lyons1</dc:creator>
      <dc:date>2021-07-28T15:09:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to apply filter inn utility collection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-apply-filter-inn-utility-collection/m-p/72044#M24649</link>
      <description>No actually in my case Field 1 is in the text format and the comparison value is in the Number format. So during comparison we will have to convert the&amp;nbsp; field 1 value into number datatype. And here we are fetching Field 1 value dynamically (Field1.Column name) so this is the problem. Moreover i found that we cannot apply TONumber to a column name directly.&lt;BR /&gt;&lt;BR /&gt;So May be in brief i can tell you my process may be if you get some other logic ,so you can suggest me&lt;BR /&gt;&lt;SPAN&gt;I have two collection lets say data1 and data2.&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;data1 has 'temp' column and data2 has also 'temp' column.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Both these collection i am getting from Excel. So in collection its coming in text format .But during comparison we should change it in number datatype otherwise it may fail in some case.(For eg if we will not convert it into number datatype so if the condition will be 38&amp;gt;195, in this case also it will be true because it will compare 3 and 1 only)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now i want to apply filter in data2&amp;nbsp; and get a separate collection&lt;BR /&gt;In filter i want to check for each temp of data1, what all temp in data 2 is less than data 1. So all the lesser temp of data2 should get store in another collection .&lt;BR /&gt;I hope now you may get the clarity of my process.&lt;BR /&gt;So if you have any way for doing this then share with me the logic for it.&amp;nbsp;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Kumari Yadav&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Jul 2021 15:34:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-apply-filter-inn-utility-collection/m-p/72044#M24649</guid>
      <dc:creator>KumariYadav1</dc:creator>
      <dc:date>2021-07-28T15:34:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to apply filter inn utility collection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-apply-filter-inn-utility-collection/m-p/72045#M24650</link>
      <description>&lt;SPAN&gt;Look at this part for sure , i forget to highlight this thats why posting again&lt;BR /&gt;(For eg if we will not convert it into number datatype so if the condition will be 38&amp;gt;195, in this case also it will be true because it will compare 3 and 1 only)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Kumari Yadav&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Jul 2021 15:39:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-apply-filter-inn-utility-collection/m-p/72045#M24650</guid>
      <dc:creator>KumariYadav1</dc:creator>
      <dc:date>2021-07-28T15:39:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to apply filter inn utility collection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-apply-filter-inn-utility-collection/m-p/72046#M24651</link>
      <description>Hi Kumari,&lt;BR /&gt;&lt;BR /&gt;It's not so much a case of converting the text to a number, but converting the number to text.&lt;BR /&gt;&lt;BR /&gt;So you have the field in the collection to filter e.g. FieldA (text) and the value to filter by ValueA (Integer).&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"[FieldA] &amp;lt; '"&amp;amp;[ValueA]&amp;amp;"'"&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;You can see here that the Field isn't converted, but we have now set the Value as text by putting it between ' ' .This is the expected format for the utility to carry out the desired function.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ben Lyons&lt;BR /&gt;Product Consultant&lt;BR /&gt;Blue Prism&lt;BR /&gt;UK&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Jul 2021 07:29:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-apply-filter-inn-utility-collection/m-p/72046#M24651</guid>
      <dc:creator>Ben.Lyons1</dc:creator>
      <dc:date>2021-07-29T07:29:00Z</dc:date>
    </item>
  </channel>
</rss>

