<?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 Error with syntax... boolean to string error in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Error-with-syntax-boolean-to-string-error/m-p/2335464#M104019</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Please help me with this syntax.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This one cannot convert from boolean to string:&lt;/P&gt;&lt;P&gt;(row1.Cost_Center.equals("Cost Center")||row1.Cost_Center.equals("Work Breakdown Center")||row1.Cost_Center.equals("Network Center"))&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This syntax is not working:&lt;/P&gt;&lt;P&gt;String.valueOf(row1.Cost_Center.equals("Cost Center")||row1.Cost_Center.equals("Work Breakdown Center")||row1.Cost_Center.equals("Network Center"))&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The input schema is a String. Output schema is a String&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;one of the cost centers. it can be Cost Center, Work Breakdown Center, or Network Center&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Apr 2021 16:29:23 GMT</pubDate>
    <dc:creator>Edi1</dc:creator>
    <dc:date>2021-04-01T16:29:23Z</dc:date>
    <item>
      <title>Error with syntax... boolean to string error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-with-syntax-boolean-to-string-error/m-p/2335464#M104019</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Please help me with this syntax.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This one cannot convert from boolean to string:&lt;/P&gt;&lt;P&gt;(row1.Cost_Center.equals("Cost Center")||row1.Cost_Center.equals("Work Breakdown Center")||row1.Cost_Center.equals("Network Center"))&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This syntax is not working:&lt;/P&gt;&lt;P&gt;String.valueOf(row1.Cost_Center.equals("Cost Center")||row1.Cost_Center.equals("Work Breakdown Center")||row1.Cost_Center.equals("Network Center"))&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The input schema is a String. Output schema is a String&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;one of the cost centers. it can be Cost Center, Work Breakdown Center, or Network Center&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Apr 2021 16:29:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-with-syntax-boolean-to-string-error/m-p/2335464#M104019</guid>
      <dc:creator>Edi1</dc:creator>
      <dc:date>2021-04-01T16:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: Error with syntax... boolean to string error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-with-syntax-boolean-to-string-error/m-p/2335465#M104020</link>
      <description>&lt;P&gt;Hi as i see if it’s in a tmap Column: it’s because you only have the condition, there is no value set where condition is reached or not. So talend read it as a boolean&lt;/P&gt;</description>
      <pubDate>Thu, 01 Apr 2021 19:11:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-with-syntax-boolean-to-string-error/m-p/2335465#M104020</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2021-04-01T19:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error with syntax... boolean to string error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-with-syntax-boolean-to-string-error/m-p/2335466#M104021</link>
      <description>&lt;P&gt;If you want to filter the cost center That respect only Your condition put Your sentence in the filter expression editor of your input. And invert string position to make it null safe (ex: "Cost Center".equals(row1.Cost_Center) instead of row1.Cost_Center.equals("Cost Center") )&lt;/P&gt;</description>
      <pubDate>Thu, 01 Apr 2021 19:25:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-with-syntax-boolean-to-string-error/m-p/2335466#M104021</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2021-04-01T19:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error with syntax... boolean to string error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-with-syntax-boolean-to-string-error/m-p/2335467#M104022</link>
      <description>&lt;P&gt;Ok, I will try to see how this format works. Thanks gjeremy!&lt;/P&gt;</description>
      <pubDate>Thu, 01 Apr 2021 19:35:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-with-syntax-boolean-to-string-error/m-p/2335467#M104022</guid>
      <dc:creator>Edi1</dc:creator>
      <dc:date>2021-04-01T19:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error with syntax... boolean to string error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-with-syntax-boolean-to-string-error/m-p/2335468#M104023</link>
      <description>&lt;P&gt;@gjeremy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks better but not good since it is now giving output of all false. Do you know what I can change here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;String.valueOf("Cost Center".equals(row1.Cost_Center)||"Work Breakdown Center".equals(row1.Cost_Center)||"Network Center".equals(row1.Cost_Center))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The output is to be a valid cost center number or nothing.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Apr 2021 19:59:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-with-syntax-boolean-to-string-error/m-p/2335468#M104023</guid>
      <dc:creator>Edi1</dc:creator>
      <dc:date>2021-04-01T19:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error with syntax... boolean to string error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-with-syntax-boolean-to-string-error/m-p/2335469#M104024</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000Duy7LAAR.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133103iD60D1CAB8925ED18/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000Duy7LAAR.png" alt="0695b00000Duy7LAAR.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000Duy7GAAR.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148938i16CC617E49510603/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000Duy7GAAR.png" alt="0695b00000Duy7GAAR.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000Duy7BAAR.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146015iBCD4450037202898/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000Duy7BAAR.png" alt="0695b00000Duy7BAAR.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000Duy76AAB.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136549iD5424DDEA3B29823/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000Duy76AAB.png" alt="0695b00000Duy76AAB.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Apr 2021 08:52:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-with-syntax-boolean-to-string-error/m-p/2335469#M104024</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2021-04-02T08:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: Error with syntax... boolean to string error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-with-syntax-boolean-to-string-error/m-p/2335470#M104025</link>
      <description>&lt;P&gt;as you can see Center is not in the filter so i'll not be in the output&lt;/P&gt;</description>
      <pubDate>Fri, 02 Apr 2021 08:55:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-with-syntax-boolean-to-string-error/m-p/2335470#M104025</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2021-04-02T08:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: Error with syntax... boolean to string error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-with-syntax-boolean-to-string-error/m-p/2335471#M104026</link>
      <description>&lt;P&gt;Ok, Thanks, I will look into it today.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Apr 2021 13:27:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-with-syntax-boolean-to-string-error/m-p/2335471#M104026</guid>
      <dc:creator>Edi1</dc:creator>
      <dc:date>2021-04-02T13:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: Error with syntax... boolean to string error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-with-syntax-boolean-to-string-error/m-p/2335472#M104027</link>
      <description>&lt;P&gt;@guenneguez jeremy​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks gjeremy!  &lt;span class="lia-unicode-emoji" title=":face_with_tears_of_joy:"&gt;😂&lt;/span&gt; Solved. It was just row1.Cost Center  (no space)&lt;/P&gt;</description>
      <pubDate>Fri, 02 Apr 2021 14:12:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-with-syntax-boolean-to-string-error/m-p/2335472#M104027</guid>
      <dc:creator>Edi1</dc:creator>
      <dc:date>2021-04-02T14:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error with syntax... boolean to string error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-with-syntax-boolean-to-string-error/m-p/2335473#M104028</link>
      <description>&lt;P&gt;Your posts were extremely helpful @guenneguez jeremy​&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Apr 2021 14:13:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-with-syntax-boolean-to-string-error/m-p/2335473#M104028</guid>
      <dc:creator>Edi1</dc:creator>
      <dc:date>2021-04-02T14:13:59Z</dc:date>
    </item>
  </channel>
</rss>

