<?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: [resolved] PROBLEM WITH RUNIF FOR UPLOAD WITH tFileExist in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-PROBLEM-WITH-RUNIF-FOR-UPLOAD-WITH-tFileExist/m-p/2376685#M138768</link>
    <description>HI, 
&lt;BR /&gt;Thank's for your answer, but I have found the solution, and forgot to post it... 
&lt;BR /&gt;I have just remove the tJava and put two run if with the same condition as you propose me but one with "!" before on one runif. 
&lt;BR /&gt;Everything run perfectly. 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Burnside</description>
    <pubDate>Fri, 28 Aug 2015 07:24:47 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-08-28T07:24:47Z</dc:date>
    <item>
      <title>[resolved] PROBLEM WITH RUNIF FOR UPLOAD WITH tFileExist</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-PROBLEM-WITH-RUNIF-FOR-UPLOAD-WITH-tFileExist/m-p/2376683#M138766</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I'm new with Talend, only one week and I try to:&lt;BR /&gt;1) Connect on FTP =&amp;gt; OK&lt;BR /&gt;2) Check if file exist on server ftp =&amp;gt; OK&lt;BR /&gt;3) I try to use the Runif condition but I have a problem there...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;As you can see on the schema, I use the &amp;nbsp;tJava to make the condition :&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;Boolean condition = true;&lt;BR /&gt;globalMap.put("tFTPFileExist_1_EXISTS",condition);&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;On the Runif order 1:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;(Boolean)globalMap.get("tFTPFileExist_1_EXISTS")==true&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;On the Runif order 2:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;(Boolean)globalMap.get("tFTPFileExist_1_EXISTS")==false&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;I just want to check if the file is present on the server, if Yes "order1" else "order2"&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Burnside&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2015 11:10:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-PROBLEM-WITH-RUNIF-FOR-UPLOAD-WITH-tFileExist/m-p/2376683#M138766</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-27T11:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] PROBLEM WITH RUNIF FOR UPLOAD WITH tFileExist</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-PROBLEM-WITH-RUNIF-FOR-UPLOAD-WITH-tFileExist/m-p/2376684#M138767</link>
      <description>Try the following:&amp;nbsp;
&lt;BR /&gt;For true condition: ((Boolean)globalMap.get("tFTPFileExist_1_EXISTS"))
&lt;BR /&gt;For false condition: !((Boolean)globalMap.get("tFTPFileExist_1_EXISTS"))
&lt;BR /&gt;
&lt;BR /&gt;You don't need to create a global variable to do this - as I think you were doing. Connect your two components where you want to conditionally do something, then do Ctrl + Spacebar in the If condition box and select the Talend-provided global variable.
&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MGRk.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153523i249AA0974D50DD8A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MGRk.png" alt="0683p000009MGRk.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Thu, 27 Aug 2015 16:14:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-PROBLEM-WITH-RUNIF-FOR-UPLOAD-WITH-tFileExist/m-p/2376684#M138767</guid>
      <dc:creator>willm1</dc:creator>
      <dc:date>2015-08-27T16:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] PROBLEM WITH RUNIF FOR UPLOAD WITH tFileExist</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-PROBLEM-WITH-RUNIF-FOR-UPLOAD-WITH-tFileExist/m-p/2376685#M138768</link>
      <description>HI, 
&lt;BR /&gt;Thank's for your answer, but I have found the solution, and forgot to post it... 
&lt;BR /&gt;I have just remove the tJava and put two run if with the same condition as you propose me but one with "!" before on one runif. 
&lt;BR /&gt;Everything run perfectly. 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Burnside</description>
      <pubDate>Fri, 28 Aug 2015 07:24:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-PROBLEM-WITH-RUNIF-FOR-UPLOAD-WITH-tFileExist/m-p/2376685#M138768</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-28T07:24:47Z</dc:date>
    </item>
  </channel>
</rss>

