<?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: Can't compare unknown in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Can-t-compare-unknown/m-p/91679#M41641</link>
    <description>​Thank you, that worked! Data.Quantity type&amp;nbsp;is the number,&amp;nbsp;but the error is gone finally!
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="29546.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/29674i4F821E0D6009CE55/image-size/large?v=v2&amp;amp;px=999" role="button" title="29546.png" alt="29546.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Vladimir Gourov&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Fri, 03 Jan 2020 15:54:00 GMT</pubDate>
    <dc:creator>VladimirGourov</dc:creator>
    <dc:date>2020-01-03T15:54:00Z</dc:date>
    <item>
      <title>Can't compare unknown</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Can-t-compare-unknown/m-p/91674#M41636</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Would anyone help me solve this issue? I am trying to set a range condition in BP process to throw an exception if the number is less than 1 or greater than 99. Under choice stage I input the following: [Data.Quantity]&amp;gt;99 OR [Data.Quantity]&amp;lt;1, while trying to validate the expression I get the message "Can't Compare Unknown".&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Vladimir Gourov&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 31 Dec 2019 23:10:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Can-t-compare-unknown/m-p/91674#M41636</guid>
      <dc:creator>VladimirGourov</dc:creator>
      <dc:date>2019-12-31T23:10:00Z</dc:date>
    </item>
    <item>
      <title>RE: Can't compare unknown</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Can-t-compare-unknown/m-p/91675#M41637</link>
      <description>Hello&amp;nbsp;&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #555555; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 1.4285; orphans: 2; overflow-wrap: break-word; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;Vladimir,&lt;BR /&gt;&lt;BR /&gt;I just verified at my end.&amp;nbsp; The expression you specified is valid.&amp;nbsp; Please ensure "Data" collection has a column called "Quantity". &amp;nbsp; And the "Data" collection is exposed properly.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Krishna&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Krishna A&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Jan 2020 05:03:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Can-t-compare-unknown/m-p/91675#M41637</guid>
      <dc:creator>KrishnaA</dc:creator>
      <dc:date>2020-01-02T05:03:00Z</dc:date>
    </item>
    <item>
      <title>RE: Can't compare unknown</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Can-t-compare-unknown/m-p/91676#M41638</link>
      <description>I think one of the variables has an undefined type. If this variables should be numbers, please verify the data type of both variables.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;RaÃºl HernÃ¡ndez&lt;BR /&gt;RPA Developer&lt;BR /&gt;Millicom&lt;BR /&gt;America/El_Salvador&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Jan 2020 14:20:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Can-t-compare-unknown/m-p/91676#M41638</guid>
      <dc:creator>RaúlHernández</dc:creator>
      <dc:date>2020-01-02T14:20:00Z</dc:date>
    </item>
    <item>
      <title>RE: Can't compare unknown</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Can-t-compare-unknown/m-p/91677#M41639</link>
      <description>&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="29542.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/29672i52370167E8B0F789/image-size/large?v=v2&amp;amp;px=999" role="button" title="29542.png" alt="29542.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;P&gt;Thanks everyone for your input. Yes, I have verified the column name and the data type, everything matches. The strange thing to me is that BP doesn't like the "&amp;gt;" and "&amp;lt;" signs for whatever reason. When I use "=" instead, then the expression is shown as valid.&lt;/P&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="29543.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/29673iA24698CF6BDE1542/image-size/large?v=v2&amp;amp;px=999" role="button" title="29543.png" alt="29543.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Vladimir Gourov&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Jan 2020 15:11:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Can-t-compare-unknown/m-p/91677#M41639</guid>
      <dc:creator>VladimirGourov</dc:creator>
      <dc:date>2020-01-02T15:11:00Z</dc:date>
    </item>
    <item>
      <title>RE: Can't compare unknown</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Can-t-compare-unknown/m-p/91678#M41640</link>
      <description>What data type is Data.Quantity?&amp;nbsp; If it is an unstructured collection, it is probably Text. You may have to covert it before comparing - ToNumber([Data.Quantity]) &amp;gt; 99&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Tom Maloney&lt;BR /&gt;Architect&lt;BR /&gt;nBotix, Inc.&lt;BR /&gt;America/Chicago&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 03 Jan 2020 15:10:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Can-t-compare-unknown/m-p/91678#M41640</guid>
      <dc:creator>TomMaloney1</dc:creator>
      <dc:date>2020-01-03T15:10:00Z</dc:date>
    </item>
    <item>
      <title>RE: Can't compare unknown</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Can-t-compare-unknown/m-p/91679#M41641</link>
      <description>​Thank you, that worked! Data.Quantity type&amp;nbsp;is the number,&amp;nbsp;but the error is gone finally!
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="29546.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/29674i4F821E0D6009CE55/image-size/large?v=v2&amp;amp;px=999" role="button" title="29546.png" alt="29546.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Vladimir Gourov&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 03 Jan 2020 15:54:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Can-t-compare-unknown/m-p/91679#M41641</guid>
      <dc:creator>VladimirGourov</dc:creator>
      <dc:date>2020-01-03T15:54:00Z</dc:date>
    </item>
    <item>
      <title>RE: Can't compare unknown</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Can-t-compare-unknown/m-p/91680#M41642</link>
      <description>Glad that it worked.&lt;BR /&gt;&lt;BR /&gt;The issue was: Since [Data] collection is a dynamic collection , it's columns don't have any fixed datatype. Hence all the data coming into it is automatically considered as TEXT.&lt;BR /&gt;&lt;BR /&gt;Thus you need to convert the text to number before comparing.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Vivek Goel&lt;BR /&gt;RPA Architect&lt;BR /&gt;Asia/Singapore&lt;BR /&gt;&lt;A href="https://www.rpatools.com/" target="test_blank"&gt;https://www.rpatools.com/&lt;/A&gt;&lt;BR /&gt;"If you like this post, please press the "Recommend" Button.&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Jan 2020 06:14:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Can-t-compare-unknown/m-p/91680#M41642</guid>
      <dc:creator>vivek.kumar.goel</dc:creator>
      <dc:date>2020-01-06T06:14:00Z</dc:date>
    </item>
  </channel>
</rss>

