<?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: Query on expression error in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Query-on-expression-error/m-p/73518#M26123</link>
    <description>&lt;P&gt;Yes count row check I can add surely but it will not resolve the above error.&lt;/P&gt;
&lt;P&gt;Also, the Excel files are dynamic and the headers vary depending on the data coming from the target system.&lt;/P&gt;
&lt;P&gt;And it involves multiple Excel files so it is not a good idea to create a collection with a predefined/static header for each of the Excels right.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;If I was of assistance, please vote for it to be the "Best Answer".&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Tejaskumar Darji&lt;BR /&gt;Sr. Consultant-Technical Lead&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Wed, 07 Jun 2023 13:34:00 GMT</pubDate>
    <dc:creator>Tejaskumar_Darji</dc:creator>
    <dc:date>2023-06-07T13:34:00Z</dc:date>
    <item>
      <title>Query on expression error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Query-on-expression-error/m-p/73514#M26119</link>
      <description>&lt;P&gt;Hello team,&lt;/P&gt;
&lt;P&gt;Please see my scenario below.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Excel Data - Collection - Empty by default - Used to read the Excel file with one of the column is "Name"&lt;/P&gt;
&lt;P&gt;Number Data - Number data item that I want to concatenate with.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I need to append the text data item and number data item here so my expression throws the below error,&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="27862.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/27990iA4E7191C4E06634B/image-size/large?v=v2&amp;amp;px=999" role="button" title="27862.png" alt="27862.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Here is the property of all 3 data items,&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="27863.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/27991iEAE660911E5A863D/image-size/large?v=v2&amp;amp;px=999" role="button" title="27863.png" alt="27863.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Please note that the same expression and calc stage runs fine in real-time without any error and it performs the concatenation fine, but here in the studio, it keeps showing 1 error.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Any idea on this?&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;If I was of assistance, please vote for it to be the "Best Answer".&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Tejaskumar Darji&lt;BR /&gt;Sr. Consultant-Technical Lead&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Jun 2023 07:50:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Query-on-expression-error/m-p/73514#M26119</guid>
      <dc:creator>Tejaskumar_Darji</dc:creator>
      <dc:date>2023-06-07T07:50:00Z</dc:date>
    </item>
    <item>
      <title>RE: Query on expression error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Query-on-expression-error/m-p/73515#M26120</link>
      <description>&lt;P&gt;Hi T,&lt;/P&gt;
&lt;P&gt;At the risk of asking something trivial: What if you put a value in 'Current Value' for data item [Number Data]. In the example you show the 'Current Value' seems to be NULL, which perhaps could be hard for BP to concat with the [Excel Data.Name].&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Happy coding!&lt;BR /&gt;---------------&lt;BR /&gt;Paul&lt;BR /&gt;Sweden&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Jun 2023 11:20:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Query-on-expression-error/m-p/73515#M26120</guid>
      <dc:creator>PvD_SE</dc:creator>
      <dc:date>2023-06-07T11:20:00Z</dc:date>
    </item>
    <item>
      <title>RE: Query on expression error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Query-on-expression-error/m-p/73516#M26121</link>
      <description>&lt;P&gt;Yes, it runs fine. See below. Output was also generated but in the error pane, it keeps showing 1 error.&lt;/P&gt;
&lt;P&gt;Now let's say I add more such [Coll.Field]&amp;amp;[Any Number Data Item] then for each such expression BP shows an error and when you run it works fine and does the concatenation normally.&lt;/P&gt;
&lt;P&gt;I'm using BP 7.2 and checked in 6.10.5 also and observed the same behavior.&lt;/P&gt;
&lt;P&gt;Sounds a bit weird to me Or maybe I'm missing something here!&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="27778.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/27908i1C0E05EE9C675321/image-size/large?v=v2&amp;amp;px=999" role="button" title="27778.png" alt="27778.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;If I was of assistance, please vote for it to be the "Best Answer".&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Tejaskumar Darji&lt;BR /&gt;Sr. Consultant-Technical Lead&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Jun 2023 11:39:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Query-on-expression-error/m-p/73516#M26121</guid>
      <dc:creator>Tejaskumar_Darji</dc:creator>
      <dc:date>2023-06-07T11:39:00Z</dc:date>
    </item>
    <item>
      <title>RE: Query on expression error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Query-on-expression-error/m-p/73517#M26122</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think if theres a chance that the collection will have no data then your calculation will always fail. You would need to either define the collection columns with a blank row so this is default or you could add in some steps before to count the number of rows and if its Zero then do a different calculation stage where only the number data item is added to Output text Data.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Michael ONeil&lt;BR /&gt;Technical Lead developer&lt;BR /&gt;NTTData&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Jun 2023 11:42:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Query-on-expression-error/m-p/73517#M26122</guid>
      <dc:creator>michaeloneil</dc:creator>
      <dc:date>2023-06-07T11:42:00Z</dc:date>
    </item>
    <item>
      <title>RE: Query on expression error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Query-on-expression-error/m-p/73518#M26123</link>
      <description>&lt;P&gt;Yes count row check I can add surely but it will not resolve the above error.&lt;/P&gt;
&lt;P&gt;Also, the Excel files are dynamic and the headers vary depending on the data coming from the target system.&lt;/P&gt;
&lt;P&gt;And it involves multiple Excel files so it is not a good idea to create a collection with a predefined/static header for each of the Excels right.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;If I was of assistance, please vote for it to be the "Best Answer".&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Tejaskumar Darji&lt;BR /&gt;Sr. Consultant-Technical Lead&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Jun 2023 13:34:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Query-on-expression-error/m-p/73518#M26123</guid>
      <dc:creator>Tejaskumar_Darji</dc:creator>
      <dc:date>2023-06-07T13:34:00Z</dc:date>
    </item>
    <item>
      <title>RE: Query on expression error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Query-on-expression-error/m-p/73519#M26124</link>
      <description>&lt;P&gt;I think what i was suggesting, if the rows are zero, then to only add the number data to the output text rather than concatenate. Only concatenate in the event the excel data returns values. This would avoid having to define headers since the excel is dynamic and prevent an error on the concat calculation. Example below.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="27788.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/27921iD88DB39F33ECE671/image-size/large?v=v2&amp;amp;px=999" role="button" title="27788.png" alt="27788.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Michael ONeil&lt;BR /&gt;Technical Lead developer&lt;BR /&gt;NTTData&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Jun 2023 13:54:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Query-on-expression-error/m-p/73519#M26124</guid>
      <dc:creator>michaeloneil</dc:creator>
      <dc:date>2023-06-07T13:54:00Z</dc:date>
    </item>
    <item>
      <title>RE: Query on expression error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Query-on-expression-error/m-p/73520#M26125</link>
      <description>&lt;P&gt;Hello Michael,&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Is your Number data item in the Text? Or is it Number only? For me, it is in the Number data item.&lt;/P&gt;
&lt;P&gt;Because I'm still getting the error in the No branch because of the same expression.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="27791.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/27919i8145DC39B71A1615/image-size/large?v=v2&amp;amp;px=999" role="button" title="27791.png" alt="27791.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;If I was of assistance, please vote for it to be the "Best Answer".&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Tejaskumar Darji&lt;BR /&gt;Sr. Consultant-Technical Lead&lt;BR /&gt;------------------------------&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 14:08:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Query-on-expression-error/m-p/73520#M26125</guid>
      <dc:creator>Tejaskumar_Darji</dc:creator>
      <dc:date>2023-06-07T14:08:00Z</dc:date>
    </item>
    <item>
      <title>RE: Query on expression error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Query-on-expression-error/m-p/73521#M26126</link>
      <description>&lt;P&gt;With the same unknown collection, BP does not throw an error when concatenating [Coll.Text]&amp;amp;[Text]&lt;/P&gt;
&lt;P&gt;See,&lt;span class="lia-inline-image-display-wrapper" image-alt="27795.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/27926iBBDE53983D5715EF/image-size/large?v=v2&amp;amp;px=999" role="button" title="27795.png" alt="27795.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;[Coll.Text]&amp;amp;[Text] = Expression Valid&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[Coll.Text]&amp;amp;[Any Number Data Item] = No conversion available error&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;If I was of assistance, please vote for it to be the "Best Answer".&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Tejaskumar Darji&lt;BR /&gt;Sr. Consultant-Technical Lead&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Jun 2023 14:15:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Query-on-expression-error/m-p/73521#M26126</guid>
      <dc:creator>Tejaskumar_Darji</dc:creator>
      <dc:date>2023-06-07T14:15:00Z</dc:date>
    </item>
    <item>
      <title>RE: Query on expression error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Query-on-expression-error/m-p/73522#M26127</link>
      <description>&lt;P&gt;Where the number of rows is zero then the calculation stage will only add the number data to the Output Text Data item,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="27800.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/27930iA7B71C89451467C7/image-size/large?v=v2&amp;amp;px=999" role="button" title="27800.png" alt="27800.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Where the number of rows is greater than zero the calculation stage will add both to the Output text data item.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="27801.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/27932i4A1016B218DCA2A9/image-size/large?v=v2&amp;amp;px=999" role="button" title="27801.png" alt="27801.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Michael ONeil&lt;BR /&gt;Technical Lead developer&lt;BR /&gt;NTTData&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Jun 2023 14:21:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Query-on-expression-error/m-p/73522#M26127</guid>
      <dc:creator>michaeloneil</dc:creator>
      <dc:date>2023-06-07T14:21:00Z</dc:date>
    </item>
    <item>
      <title>RE: Query on expression error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Query-on-expression-error/m-p/73523#M26128</link>
      <description>&lt;P&gt;Thanks, Michael, if possible can you send me this 1 test page where you did this testing?&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;If I was of assistance, please vote for it to be the "Best Answer".&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Tejaskumar Darji&lt;BR /&gt;Sr. Consultant-Technical Lead&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Jun 2023 14:29:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Query-on-expression-error/m-p/73523#M26128</guid>
      <dc:creator>Tejaskumar_Darji</dc:creator>
      <dc:date>2023-06-07T14:29:00Z</dc:date>
    </item>
    <item>
      <title>RE: Query on expression error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Query-on-expression-error/m-p/73524#M26129</link>
      <description>&lt;P&gt;++&lt;/P&gt;
&lt;P&gt;&lt;A class="user-content-mention" data-sign="@" data-contactkey="c5e63ea0-81f8-48b9-bde7-b9fabd8876b1" data-tag-text="@Neeraj Kumar" href="https://community.blueprism.com/network/profile?UserKey=c5e63ea0-81f8-48b9-bde7-b9fabd8876b1" data-itemmentionkey="402eec26-3c04-4be8-81e6-ea9cd20a623f"&gt;@Neeraj Kumar&lt;/A&gt; &lt;A class="user-content-mention" data-sign="@" data-contactkey="b2096cea-170e-40c8-b4bf-0186437be518" data-tag-text="@Mukesh Kumar" href="https://community.blueprism.com/network/profile?UserKey=b2096cea-170e-40c8-b4bf-0186437be518" data-itemmentionkey="ebd5143c-c95d-4dd8-92c5-38386fd35f44"&gt;@Mukesh Kumar&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;If I was of assistance, please vote for it to be the "Best Answer".&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Tejaskumar Darji&lt;BR /&gt;Sr. Consultant-Technical Lead&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Jun 2023 14:47:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Query-on-expression-error/m-p/73524#M26129</guid>
      <dc:creator>Tejaskumar_Darji</dc:creator>
      <dc:date>2023-06-07T14:47:00Z</dc:date>
    </item>
    <item>
      <title>RE: Query on expression error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Query-on-expression-error/m-p/73525#M26130</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/2159"&gt;@Tejaskumar_Darji&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please see attached, keep in mind this hasnt been fully tested and i had no test data for it but hopefully this does what you need to do.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Michael ONeil&lt;BR /&gt;Technical Lead developer&lt;BR /&gt;NTTData&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Jun 2023 15:27:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Query-on-expression-error/m-p/73525#M26130</guid>
      <dc:creator>michaeloneil</dc:creator>
      <dc:date>2023-06-07T15:27:00Z</dc:date>
    </item>
    <item>
      <title>RE: Query on expression error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Query-on-expression-error/m-p/73526#M26131</link>
      <description>&lt;P&gt;Thanks, Michael, I imported your page and I see the same error popping.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="27821.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/27952iB5C0E22E6C6168AA/image-size/large?v=v2&amp;amp;px=999" role="button" title="27821.png" alt="27821.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I'm wondering why it is showing in my BP but not in your BP. I'm using the latest BP 7.2, which BP version are you using?&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;If I was of assistance, please vote for it to be the "Best Answer".&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Tejaskumar Darji&lt;BR /&gt;Sr. Consultant-Technical Lead&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Jun 2023 15:36:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Query-on-expression-error/m-p/73526#M26131</guid>
      <dc:creator>Tejaskumar_Darji</dc:creator>
      <dc:date>2023-06-07T15:36:00Z</dc:date>
    </item>
    <item>
      <title>RE: Query on expression error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Query-on-expression-error/m-p/73527#M26132</link>
      <description>&lt;P&gt;ah sorry i should have been clear this wouldn't eliminate the error this is only to avoid a failure in the process when running. The error will still exist because the value from the collection cant be defined until runtime after you get the info from excel so the list of errors will still show unknown value. Ideally there are no errors but with the scenario you presented if you cant pre-define the collection then this might have be an acceptable error to leave in your process.&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Michael ONeil&lt;BR /&gt;Technical Lead developer&lt;BR /&gt;NTTData&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Jun 2023 07:39:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Query-on-expression-error/m-p/73527#M26132</guid>
      <dc:creator>michaeloneil</dc:creator>
      <dc:date>2023-06-08T07:39:00Z</dc:date>
    </item>
    <item>
      <title>RE: Query on expression error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Query-on-expression-error/m-p/73528#M26133</link>
      <description>&lt;P&gt;Okay glad you got my point now.&lt;/P&gt;
&lt;P&gt;Awaiting for others to reproduce and confirm.&lt;/P&gt;
&lt;P&gt;I have a strong vibe that this is a bug.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;If I was of assistance, please vote for it to be the "Best Answer".&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Tejaskumar Darji&lt;BR /&gt;Sr. Consultant-Technical Lead&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Jun 2023 09:00:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Query-on-expression-error/m-p/73528#M26133</guid>
      <dc:creator>Tejaskumar_Darji</dc:creator>
      <dc:date>2023-06-08T09:00:00Z</dc:date>
    </item>
    <item>
      <title>RE: Query on expression error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Query-on-expression-error/m-p/73529#M26134</link>
      <description>&lt;P&gt;That is a compilation error that we get. At compilation time, the studio does not know the data type of [Excel.Name] and if I am not wrong it considers it to be NULL. When using concatenation with NULL and Number it gives an error as it will return a NULL value.&amp;nbsp; But, concatenating&amp;nbsp; NULL and Text WILL NOT give an error as it will return a text value.&lt;/P&gt;
&lt;P&gt;In real-time your [Excel.Name] have some value so you are not getting Run time error. The worst is you will get column not find error if column is not present. Because if column is there then its datatype will be defined.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;For testing you can just use any string operation on your number data type which will make it a string format and your compiler error will be gone. In short, you just need to have one String Data type in the whole concatenation operation and that should resolve the error&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="27846.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/27973iF9A834838E4F27CB/image-size/large?v=v2&amp;amp;px=999" role="button" title="27846.png" alt="27846.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;And just FYI, I don't consider it to be a bug in Blueprism. This is just how .NET compiler works and Blueprism is built on top of .NET framework. So, this seems to be an expected behaviour.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Kishore Deka&lt;BR /&gt;Lead Software Engineer&lt;BR /&gt;EPAM systems&lt;BR /&gt;------------------------------&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 13:40:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Query-on-expression-error/m-p/73529#M26134</guid>
      <dc:creator>Kishore_KumarDe</dc:creator>
      <dc:date>2023-06-08T13:40:00Z</dc:date>
    </item>
    <item>
      <title>RE: Query on expression error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Query-on-expression-error/m-p/73530#M26135</link>
      <description>&lt;P&gt;If you&amp;nbsp; concatenate with an empty string in between it will not&amp;nbsp; show the error as you are letting BP know to make a casting&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;[Excel Data.Name]&amp;amp;""&amp;amp;[Number Data]&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Maybe this will help with your situation.&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;sekou dioubate&lt;BR /&gt;business optimization specialist&lt;BR /&gt;Ascension MSC&lt;BR /&gt;America/Indiana/Indianapolis&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Jun 2023 14:35:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Query-on-expression-error/m-p/73530#M26135</guid>
      <dc:creator>diousekou</dc:creator>
      <dc:date>2023-06-08T14:35:00Z</dc:date>
    </item>
    <item>
      <title>RE: Query on expression error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Query-on-expression-error/m-p/73531#M26136</link>
      <description>&lt;P&gt;Thanks @Kishore Kumar Deka, that makes a lot of sense now. Also, the workaround&amp;nbsp;&lt;A class="user-content-mention" data-sign="@" data-contactkey="ee785213-61c3-4afd-9965-b4332000aed6" data-tag-text="@sekou dioubate" href="https://community.blueprism.com/network/profile?UserKey=ee785213-61c3-4afd-9965-b4332000aed6" data-itemmentionkey="33f3ac4c-04da-4aec-afa9-ea70b9e747de"&gt;@sekou dioubate&lt;/A&gt; suggested works and removes the error because any Text concatenates with a Number results in a Text here because both are known to .NET and then it became a Text itself which in turn now become Coll.Text&amp;amp;Text.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Thanks again for this knowledge.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;If I was of assistance, please vote for it to be the "Best Answer".&lt;BR /&gt;&lt;BR /&gt;LinkedIn - &lt;A href="https://www.linkedin.com/in/tejaskumardarji/" target="test_blank"&gt;https://www.linkedin.com/in/tejaskumardarji/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Tejaskumar Darji&lt;BR /&gt;Sr. Consultant-Technical Lead&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Jun 2023 06:53:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Query-on-expression-error/m-p/73531#M26136</guid>
      <dc:creator>Tejaskumar_Darji</dc:creator>
      <dc:date>2023-06-09T06:53:00Z</dc:date>
    </item>
  </channel>
</rss>

