<?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: IF/else statement usage in tMap in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/IF-else-statement-usage-in-tMap/m-p/2241093#M28367</link>
    <description>Hi Umesh, 
&lt;BR /&gt;I tried above statement in tMap Expression but it's not working properly please check below screenshot 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt;</description>
    <pubDate>Wed, 15 Apr 2015 12:21:50 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-04-15T12:21:50Z</dc:date>
    <item>
      <title>IF/else statement usage in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/IF-else-statement-usage-in-tMap/m-p/2241080#M28354</link>
      <description>&lt;P&gt;Hi - I have a problem in applying the if/else condition in tMap. I am trying to do below validations in tMap.&lt;BR /&gt; if (in.stop_seq == 1 &amp;amp;&amp;amp; in.message_status == 10 &amp;amp;&amp;amp; in.message_type == 40) 'AA'&lt;BR /&gt; else if (in.stop_seq == 1 &amp;amp;&amp;amp; in.message_status == 10 &amp;amp;&amp;amp; in.message_type == 45) 'X3'&lt;BR /&gt; else if (in.stop_seq == 1 &amp;amp;&amp;amp; in.message_status == 10 &amp;amp;&amp;amp; in.message_type == 50) 'AF'&lt;BR /&gt; else if (in.stop_seq == 2 &amp;amp;&amp;amp; in.message_status == 10 &amp;amp;&amp;amp; in.message_type == 40) 'AB'&lt;BR /&gt; else if (in.stop_seq == 2 &amp;amp;&amp;amp; in.message_status == 10 &amp;amp;&amp;amp; in.message_type == 45) 'X1'&lt;BR /&gt; else if (in.stop_seq == 2 &amp;amp;&amp;amp; in.message_status == 10 &amp;amp;&amp;amp; in.message_type == 50) 'CD'&lt;BR /&gt;My source is a db2 and trying to populate a output filed based on this condition. As am new to this, tried all possible options but didn't work. Could you please help?&lt;BR /&gt;Note:In my screenshot attached, i tried with one input value to check and populate the target.&lt;BR /&gt;Thanks in advance!!!&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2013 14:53:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/IF-else-statement-usage-in-tMap/m-p/2241080#M28354</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-27T14:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: IF/else statement usage in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/IF-else-statement-usage-in-tMap/m-p/2241081#M28355</link>
      <description>In the tmap, the formula must return a value that will be assigned to the output column of your schema. Then, you can't use if/then/else statements in it.&lt;BR /&gt;Instead, use conditional operator "?" like this :&lt;BR /&gt;(condition) ? then_value : else_value&lt;BR /&gt;For your example :&lt;BR /&gt;(in.stop_seq == 1 &amp;amp;&amp;amp; in.message_status == 10 &amp;amp;&amp;amp; in.message_type == 40) ? "AA" :&lt;BR /&gt;        ((in.stop_seq == 1 &amp;amp;&amp;amp; in.message_status == 10 &amp;amp;&amp;amp; in.message_type == 45) ? "X3" :&lt;BR /&gt;        ((in.stop_seq == 1 &amp;amp;&amp;amp; in.message_status == 10 &amp;amp;&amp;amp; in.message_type == 50) ? "AF" :&lt;BR /&gt;...&lt;BR /&gt;        ((in.stop_seq == 2 &amp;amp;&amp;amp; in.message_status == 10 &amp;amp;&amp;amp; in.message_type == 50) ? "CD" : null)))</description>
      <pubDate>Wed, 27 Mar 2013 15:05:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/IF-else-statement-usage-in-tMap/m-p/2241081#M28355</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-27T15:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: IF/else statement usage in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/IF-else-statement-usage-in-tMap/m-p/2241082#M28356</link>
      <description>Boulayj - Thanks a lot!! It really worked. Could you please let me when to use if/elseif &amp;amp; ?: in tMap expression? 
&lt;BR /&gt;I am really new to Java..learn the things. Once again your help is greatly appreciated.:-)</description>
      <pubDate>Wed, 27 Mar 2013 15:19:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/IF-else-statement-usage-in-tMap/m-p/2241082#M28356</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-27T15:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: IF/else statement usage in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/IF-else-statement-usage-in-tMap/m-p/2241083#M28357</link>
      <description>You must always use conditional operator "?" in tMap expression. 
&lt;BR /&gt;If you want to use if/then/else (for a more complex expression) then you have to create your own routine and to use it in the tmap expression. A routine is a java method that must return a value.</description>
      <pubDate>Wed, 27 Mar 2013 15:48:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/IF-else-statement-usage-in-tMap/m-p/2241083#M28357</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-27T15:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: IF/else statement usage in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/IF-else-statement-usage-in-tMap/m-p/2241084#M28358</link>
      <description>talend generate java script and when you put a value in the interface field it write myField = your_value; 
&lt;BR /&gt;you can use routine or the simplify syntax of java but you cant use function or other condition. 
&lt;BR /&gt;when u change something u can see the java code in the code tab of the job, if there is red line u have bad entry in a component. it s very important for the data type 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Fri, 29 Mar 2013 03:09:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/IF-else-statement-usage-in-tMap/m-p/2241084#M28358</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-29T03:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: IF/else statement usage in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/IF-else-statement-usage-in-tMap/m-p/2241085#M28359</link>
      <description>NO, Talend does not create Java Script!!. JavaScript != Java. Its only the name, nothing else.&lt;BR /&gt;It would be correct to write "Talend generate java code..."&lt;BR /&gt;By The Way, this post is in the wrong category!</description>
      <pubDate>Tue, 02 Apr 2013 20:05:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/IF-else-statement-usage-in-tMap/m-p/2241085#M28359</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-04-02T20:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: IF/else statement usage in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/IF-else-statement-usage-in-tMap/m-p/2241086#M28360</link>
      <description>Hi nboulic, 
&lt;BR /&gt;Thanks for sharing your experience of using tMap component with us(exactly, Talend generates Java code). In addition, for the user routine mentioned by @boulayj, please refer to 
&lt;A href="https://help.talend.com/display/TALENDOPENSTUDIOFORDATAINTEGRATIONUSERGUIDE52EN/8.4.1+How+to+create+user+routines" target="_blank" rel="nofollow noopener noreferrer"&gt;How+to+create+user+routines&lt;/A&gt; and 
&lt;A href="https://help.talend.com/display/TALENDOPENSTUDIOFORDATAINTEGRATIONUSERGUIDE52EN/8.5+Calling+a+routine+from+a+Job" target="_blank" rel="nofollow noopener noreferrer"&gt;Calling+a+routine+from+a+Job&lt;/A&gt; 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina</description>
      <pubDate>Wed, 03 Apr 2013 03:53:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/IF-else-statement-usage-in-tMap/m-p/2241086#M28360</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-04-03T03:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: IF/else statement usage in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/IF-else-statement-usage-in-tMap/m-p/2241087#M28361</link>
      <description>Hi All....
&lt;BR /&gt;I am facing problem in 'if then elsif condition' 
&lt;BR /&gt;as while if&amp;nbsp; statement is true at that time else also execute and it directly execute else statement instead of elsif statement.</description>
      <pubDate>Mon, 13 Apr 2015 14:24:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/IF-else-statement-usage-in-tMap/m-p/2241087#M28361</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-13T14:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: IF/else statement usage in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/IF-else-statement-usage-in-tMap/m-p/2241088#M28362</link>
      <description>Hi 
&lt;A href="https://www.talendforge.org/forum/profile.php?id=284196" target="_blank" rel="nofollow noopener noreferrer"&gt;salvekaran_1&lt;/A&gt;,
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;I am facing problem in 'if then elsif condition' &lt;BR /&gt;as while if&amp;nbsp; statement is true at that time else also execute and it directly execute else statement instead of elsif statement.&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;Could you please set an example for your requirment?
&lt;BR /&gt;Best regards
&lt;BR /&gt;Sabrina</description>
      <pubDate>Tue, 14 Apr 2015 11:32:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/IF-else-statement-usage-in-tMap/m-p/2241088#M28362</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-14T11:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: IF/else statement usage in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/IF-else-statement-usage-in-tMap/m-p/2241089#M28363</link>
      <description>Hello Sabrina,&amp;nbsp;
&lt;BR /&gt;I wanna define multiple conditions in tMap Component just like that following example,
&lt;BR /&gt;if &amp;nbsp;Employees.Department_id != Department.Department_id &amp;nbsp;Then Print "Department ID is not valid"&amp;nbsp;
&lt;BR /&gt;if &amp;nbsp;Employees.Department_id == Department.Department_id &amp;nbsp;Then Print &amp;nbsp;"null"
&lt;BR /&gt;if &amp;nbsp;Employees.Job_Id != Jobs.Job_Id &amp;nbsp;Then Print " Job ID is not Valid"
&lt;BR /&gt;if &amp;nbsp;Employees.Job_Id == Jobs.Job_Id &amp;nbsp;Then Print "null"
&lt;BR /&gt;I' wrote this type of condition in tMap Expression , is it right ya wrong please notify me.&amp;nbsp;
&lt;BR /&gt;row1.DEPARTMENT_ID!=row2.DEPARTMENT_ID ? "Error_1" :
&lt;BR /&gt;row1.DEPARTMENT_ID ==row2.DEPARTMENT_ID ? null :
&lt;BR /&gt;row1.JOB_ID !=row3.JOB_ID ? "Error_2" :
&lt;BR /&gt;row1.JOB_ID ==row3.JOB_ID ? null :
&lt;BR /&gt;row1.HIRE_DATE != row1.HIRE_DATE)? "Error_3" :null&amp;nbsp;
&lt;BR /&gt;Thanks 
&lt;BR /&gt;Kiran Salve
&lt;BR /&gt;ValuD Software's</description>
      <pubDate>Tue, 14 Apr 2015 15:55:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/IF-else-statement-usage-in-tMap/m-p/2241089#M28363</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-14T15:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: IF/else statement usage in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/IF-else-statement-usage-in-tMap/m-p/2241090#M28364</link>
      <description>Hi Kiran, 
&lt;BR /&gt;Seems everything ok but &amp;nbsp;add row1.HIRE_DATE.compareTo(row2.HIRE_DATE)!=0 &amp;nbsp;in your expression. 
&lt;BR /&gt;Then your Expression became &amp;nbsp;like below after include &amp;nbsp;above logic. 
&lt;BR /&gt;row1.DEPARTMENT_ID!=row2.DEPARTMENT_ID ? "Error_1" : 
&lt;BR /&gt;row1.DEPARTMENT_ID ==row2.DEPARTMENT_ID ? null : 
&lt;BR /&gt;row1.JOB_ID !=row3.JOB_ID ? "Error_2" : 
&lt;BR /&gt;row1.JOB_ID ==row3.JOB_ID ? null : 
&lt;BR /&gt;row1.HIRE_DATE.compareTo(row2.HIRE_DATE)!=0? "Error_3" :null&amp;nbsp; 
&lt;BR /&gt;Regards, 
&lt;BR /&gt;Kumar</description>
      <pubDate>Wed, 15 Apr 2015 07:26:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/IF-else-statement-usage-in-tMap/m-p/2241090#M28364</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-15T07:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: IF/else statement usage in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/IF-else-statement-usage-in-tMap/m-p/2241091#M28365</link>
      <description>Hi&amp;nbsp;
&lt;A href="https://www.talendforge.org/forum/profile.php?id=284196" target="_blank" rel="nofollow noopener noreferrer"&gt;salvekaran_1&lt;/A&gt;,
&lt;BR /&gt;
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I think u meant to say that, filtering based on ur 5 condition using expression filter ?? if so ur doing it in wrong way</description>
      <pubDate>Wed, 15 Apr 2015 07:40:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/IF-else-statement-usage-in-tMap/m-p/2241091#M28365</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-15T07:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: IF/else statement usage in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/IF-else-statement-usage-in-tMap/m-p/2241092#M28366</link>
      <description>try below statement&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;Employees.Department_id != Department.Department_id? "Department ID is not valid" : Employees.Department_id == Department.Department_id? "null": Employees.Job_Id != Jobs.Job_Id? " Job ID is not Valid":Employees.Job_Id == Jobs.Job_Id?"null":"null"&lt;/PRE&gt;</description>
      <pubDate>Wed, 15 Apr 2015 08:25:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/IF-else-statement-usage-in-tMap/m-p/2241092#M28366</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-15T08:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: IF/else statement usage in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/IF-else-statement-usage-in-tMap/m-p/2241093#M28367</link>
      <description>Hi Umesh, 
&lt;BR /&gt;I tried above statement in tMap Expression but it's not working properly please check below screenshot 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt;</description>
      <pubDate>Wed, 15 Apr 2015 12:21:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/IF-else-statement-usage-in-tMap/m-p/2241093#M28367</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-15T12:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: IF/else statement usage in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/IF-else-statement-usage-in-tMap/m-p/2241094#M28368</link>
      <description>Hi, 
&lt;BR /&gt;I have situation in tMap. 
&lt;BR /&gt;I have 2 columns STARTDATE &amp;amp; ENDDATE . i just want to validate that STARTDATE should not be greater than ENDDATE &amp;amp; 
&lt;BR /&gt;ENDDATE should not be less than STARTDATE.&amp;nbsp; 
&lt;BR /&gt;WILL YOU PLEASE HELP ME TO IMPLEMENT THIS LOGIC. 
&lt;BR /&gt;Both columns are type DATE . 
&lt;BR /&gt;Thanx in advance. 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Fri, 28 Aug 2015 06:39:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/IF-else-statement-usage-in-tMap/m-p/2241094#M28368</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-28T06:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: IF/else statement usage in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/IF-else-statement-usage-in-tMap/m-p/2241095#M28369</link>
      <description>you can use below function to check whether your date is greater than End date or not.&amp;nbsp;&lt;BR /&gt;Operation: StartDate&amp;gt;EndDate &amp;amp;&amp;amp; EndDate&amp;gt;StartDate&lt;BR /&gt;&lt;PRE&gt;row4.STARTDATE != null &amp;amp;&amp;amp; (row2.STARTDATE.before(row4.ENDDATE))&amp;nbsp;&lt;/PRE&gt;&lt;BR /&gt;This will check whether Start Date is before ENDDATE. that means it is lesser than EndDate.&amp;nbsp;&lt;BR /&gt;You can check other Date functions here.&amp;nbsp;&lt;A href="http://dwetl.com/2015/04/28/talend-date-routine-function-with-examples/" target="_blank" rel="nofollow noopener noreferrer"&gt;talend-date-routine-function-with-examples&lt;/A&gt;</description>
      <pubDate>Fri, 28 Aug 2015 07:54:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/IF-else-statement-usage-in-tMap/m-p/2241095#M28369</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-28T07:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: IF/else statement usage in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/IF-else-statement-usage-in-tMap/m-p/2241096#M28370</link>
      <description>Hi Shri_Kul1, 
&lt;BR /&gt;You can create a tMap variable to carry out the logic on the dates and then use that variable to direct the flow to the output table you want. 
&lt;BR /&gt;Please see my screenshot for detail. Feel free to let us know if it is OK with you. 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACj.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/127929i17B9228D37B87C41/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACj.png" alt="0683p000009MACj.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina</description>
      <pubDate>Fri, 28 Aug 2015 08:13:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/IF-else-statement-usage-in-tMap/m-p/2241096#M28370</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-28T08:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: IF/else statement usage in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/IF-else-statement-usage-in-tMap/m-p/2241097#M28371</link>
      <description>Hi Sabrina &amp;amp; Umesh , 
&lt;BR /&gt;Actual scenario is .... the fields i have mentioned &amp;nbsp;(STARTDATE &amp;nbsp; &amp;nbsp;&amp;amp; &amp;nbsp; &amp;nbsp;ENDDATE) are coming from the same table , there is no look up table , but there is 2 target table that are for good data and for bad data,&amp;nbsp; 
&lt;BR /&gt;in Bad data table there should be only null or the data which is failed at the validation . 
&lt;BR /&gt;so in this case i want "Start Date should not be greater than End date " &amp;amp; "End date should be greater than Start Date" @ the Bad table. 
&lt;BR /&gt;Fields datatype is "Date" &amp;nbsp;in source table . 
&lt;BR /&gt;waiting for reply...!!!! 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Thanks</description>
      <pubDate>Fri, 28 Aug 2015 10:57:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/IF-else-statement-usage-in-tMap/m-p/2241097#M28371</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-28T10:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: IF/else statement usage in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/IF-else-statement-usage-in-tMap/m-p/2241098#M28372</link>
      <description>In that case you can use below statement respectively for each good and bad flow.&amp;nbsp;&lt;BR /&gt;This one is for Good Data.&amp;nbsp;&lt;BR /&gt;&lt;PRE&gt;row4.STARTDATE != null &amp;amp;&amp;amp; (row2.STARTDATE.before(row4.ENDDATE))&amp;nbsp;&lt;/PRE&gt;&lt;BR /&gt;And this one is for bad data.&amp;nbsp;&lt;BR /&gt;&lt;PRE&gt;(row4.STARTDATE != null &amp;amp;&amp;amp; (row2.STARTDATE.after(row4.ENDDATE)))&amp;nbsp;|| row4.STARTDATE == null&lt;/PRE&gt;&lt;BR /&gt;Hope this will solve your problem.&amp;nbsp;</description>
      <pubDate>Fri, 28 Aug 2015 11:45:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/IF-else-statement-usage-in-tMap/m-p/2241098#M28372</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-28T11:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: IF/else statement usage in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/IF-else-statement-usage-in-tMap/m-p/2241099#M28373</link>
      <description>Its Working .... 
&lt;BR /&gt;Thanx Umesh... 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Fri, 28 Aug 2015 14:37:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/IF-else-statement-usage-in-tMap/m-p/2241099#M28373</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-28T14:37:02Z</dc:date>
    </item>
  </channel>
</rss>

