<?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: Nested if condition in tmap in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Nested-if-condition-in-tmap/m-p/2241946#M28934</link>
    <description>you have to use inline if syntaxe:&lt;BR /&gt;(condition)?ifTrue:ifFalse</description>
    <pubDate>Tue, 07 Jan 2020 16:03:30 GMT</pubDate>
    <dc:creator>fdenis</dc:creator>
    <dc:date>2020-01-07T16:03:30Z</dc:date>
    <item>
      <title>Nested if condition in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Nested-if-condition-in-tmap/m-p/2241945#M28933</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a file which has data without any delimiter, so we are using sub string to get the data.&lt;/P&gt;
&lt;P&gt;Now I have to give some If condition in tmap output column like this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if(!row1.source_data.startsWith(" ") &amp;amp;&amp;amp; row1.source_data.substring(16, 26) != "00000000000")&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;if (row1.source_data.substring(16, 17) == "50" || row1.source_data.substring(16, 17) == "90")&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;//here just extracting the data&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now i am not able right these two if conditions in tmap output expression as it is showing different error.&lt;/P&gt;
&lt;P&gt;Can anyone help me on this ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2020 14:43:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Nested-if-condition-in-tmap/m-p/2241945#M28933</guid>
      <dc:creator>Prakhar1</dc:creator>
      <dc:date>2020-01-07T14:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: Nested if condition in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Nested-if-condition-in-tmap/m-p/2241946#M28934</link>
      <description>you have to use inline if syntaxe:&lt;BR /&gt;(condition)?ifTrue:ifFalse</description>
      <pubDate>Tue, 07 Jan 2020 16:03:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Nested-if-condition-in-tmap/m-p/2241946#M28934</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2020-01-07T16:03:30Z</dc:date>
    </item>
  </channel>
</rss>

