<?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 validation not working in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/validation-not-working/m-p/2325547#M95137</link>
    <description>&lt;P&gt;There is a minor irritating issue I am facing that I am reading some data from one table and putting in some other table based on just validation as shown below in image. When I am giving&amp;nbsp;&lt;STRONG&gt;row2.ISAPPROVED == "Y" it's not working and when I give&amp;nbsp;row2.ISAPPROVED !=&amp;nbsp;null it works!&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;This is really strange, what or where is the mistake with first condition as I need to use that.&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="approve1.jpg" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LvGM.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156066iCEA1DA3D85FE89BE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LvGM.jpg" alt="0683p000009LvGM.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="approve2.jpg" style="width: 595px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LvMu.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131862iABB538B31B5A278F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LvMu.jpg" alt="0683p000009LvMu.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Jul 2017 12:54:40 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-07-12T12:54:40Z</dc:date>
    <item>
      <title>validation not working</title>
      <link>https://community.qlik.com/t5/Talend-Studio/validation-not-working/m-p/2325547#M95137</link>
      <description>&lt;P&gt;There is a minor irritating issue I am facing that I am reading some data from one table and putting in some other table based on just validation as shown below in image. When I am giving&amp;nbsp;&lt;STRONG&gt;row2.ISAPPROVED == "Y" it's not working and when I give&amp;nbsp;row2.ISAPPROVED !=&amp;nbsp;null it works!&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;This is really strange, what or where is the mistake with first condition as I need to use that.&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="approve1.jpg" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LvGM.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156066iCEA1DA3D85FE89BE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LvGM.jpg" alt="0683p000009LvGM.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="approve2.jpg" style="width: 595px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LvMu.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131862iABB538B31B5A278F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LvMu.jpg" alt="0683p000009LvMu.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2017 12:54:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/validation-not-working/m-p/2325547#M95137</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-12T12:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: validation not working</title>
      <link>https://community.qlik.com/t5/Talend-Studio/validation-not-working/m-p/2325548#M95138</link>
      <description>&lt;P&gt;Write stringchain == "Y" is not good. I think you have a problem with concepts :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you write : stringchain == "Y", you compare the reference of the memory location of "stringchain" and "Y".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You must write : stringchain.equals("Y"), so you compare the VALUE of stringchain and the VALUE "Y".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For solution, you can write :&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;row2.ISAPPROVED.equals("Y")&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;but if ISAPPROVED can be null or empty, you can avoid a null pointer exception by writting&amp;nbsp;:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;row2.ISAPPROVED != null &amp;amp;&amp;amp; row2.ISAPPROVED.equals("Y")&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2017 13:05:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/validation-not-working/m-p/2325548#M95138</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-12T13:05:07Z</dc:date>
    </item>
  </channel>
</rss>

