<?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 Choice Stage - Cannot Compare Unknown in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Choice-Stage-Cannot-Compare-Unknown/m-p/89995#M40295</link>
    <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;What exactly does "Cannot compare unknown" error message mean within a choice stage?&amp;nbsp; I have built a process that runs a SQL query and sends the results to a collection with two columns.&amp;nbsp; Column X is text, Column Y is a number.&amp;nbsp; In my choice stage, I have 6 conditions that loop through the collection and perform a calc action if any one of them is true.&amp;nbsp; All of the choices that are a single condition work fine (ie. X = "word") but on more complex ones involving numbers (X = "word" AND Y&amp;gt;1) I get that error.&amp;nbsp; &amp;nbsp;I get the same error if I have Y&amp;gt;1 alone as a condition as well.&amp;nbsp; It seems as if the expression only considers 1 and 0 to be valid values, anything else returns that error.&amp;nbsp; Where am I going wrong?&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
    <pubDate>Tue, 16 Jul 2019 20:40:00 GMT</pubDate>
    <dc:creator>BrentonCarr</dc:creator>
    <dc:date>2019-07-16T20:40:00Z</dc:date>
    <item>
      <title>Choice Stage - Cannot Compare Unknown</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Choice-Stage-Cannot-Compare-Unknown/m-p/89995#M40295</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;What exactly does "Cannot compare unknown" error message mean within a choice stage?&amp;nbsp; I have built a process that runs a SQL query and sends the results to a collection with two columns.&amp;nbsp; Column X is text, Column Y is a number.&amp;nbsp; In my choice stage, I have 6 conditions that loop through the collection and perform a calc action if any one of them is true.&amp;nbsp; All of the choices that are a single condition work fine (ie. X = "word") but on more complex ones involving numbers (X = "word" AND Y&amp;gt;1) I get that error.&amp;nbsp; &amp;nbsp;I get the same error if I have Y&amp;gt;1 alone as a condition as well.&amp;nbsp; It seems as if the expression only considers 1 and 0 to be valid values, anything else returns that error.&amp;nbsp; Where am I going wrong?&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Tue, 16 Jul 2019 20:40:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Choice-Stage-Cannot-Compare-Unknown/m-p/89995#M40295</guid>
      <dc:creator>BrentonCarr</dc:creator>
      <dc:date>2019-07-16T20:40:00Z</dc:date>
    </item>
    <item>
      <title>RE: Choice Stage - Cannot Compare Unknown</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Choice-Stage-Cannot-Compare-Unknown/m-p/89996#M40296</link>
      <description>Thank you for posting.&amp;nbsp;&lt;BR /&gt;&lt;SPAN style="background-color: #ffcc00;"&gt;&lt;BR /&gt;&amp;gt;&amp;nbsp; but on more complex ones involving numbers (X = "word" AND Y&amp;gt;1) I get that error. I get the same error if I have Y&amp;gt;1 alone as a condition as well. &amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;Based on this information, the problem should be in the value of "Y". Please check the following points.&lt;BR /&gt;
&lt;UL&gt;
&lt;LI&gt;Which value was set in Y&lt;/LI&gt;
&lt;LI&gt;What data type was set in the value Y&lt;/LI&gt;
&lt;/UL&gt;
&lt;SPAN style="background-color: #ffcc00;"&gt;&lt;BR /&gt;&amp;gt;&amp;nbsp;What exactly does "Cannot compare unknown" error message mean within a choice stage? &amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;I couldn't find the error message in our previous cases. If you share the process/object for us to replicate the same error, I will take a look at this issue a little bit more.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Nobu&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Nobuhiro Tokushige&lt;BR /&gt;Product Specialist&lt;BR /&gt;Blue Prism&lt;BR /&gt;Australia/Sydney&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Jul 2019 03:36:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Choice-Stage-Cannot-Compare-Unknown/m-p/89996#M40296</guid>
      <dc:creator>nobu</dc:creator>
      <dc:date>2019-07-17T03:36:00Z</dc:date>
    </item>
    <item>
      <title>RE: Choice Stage - Cannot Compare Unknown</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Choice-Stage-Cannot-Compare-Unknown/m-p/89997#M40297</link>
      <description>Could be that the SQL results contain NULL values, and Blue Prism doesn't have the concept of NULL.&lt;BR /&gt;&lt;BR /&gt;Suggest changing collection Column Y to text data type and the SQL to use ISNULL(FieldA, '') to ensure null values are never returned.&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>Wed, 17 Jul 2019 09:15:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Choice-Stage-Cannot-Compare-Unknown/m-p/89997#M40297</guid>
      <dc:creator>John__Carter</dc:creator>
      <dc:date>2019-07-17T09:15:00Z</dc:date>
    </item>
  </channel>
</rss>

