<?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: tFileExist with external parameter in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tFileExist-with-external-parameter/m-p/2282997#M57022</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;it is simple:&lt;BR /&gt;&lt;BR /&gt;Context:&lt;BR /&gt;file: c:/null (String)&lt;BR /&gt;&lt;BR /&gt;tFileExist (context.file) -- ok -- tMsgBox "ok"&lt;BR /&gt;/-- not ok -- tMsgBox "not ok"&lt;BR /&gt;&lt;BR /&gt;The result is in every case "ok".&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
    <pubDate>Thu, 13 Sep 2018 14:41:57 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-09-13T14:41:57Z</dc:date>
    <item>
      <title>tFileExist with external parameter</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileExist-with-external-parameter/m-p/2282995#M57020</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt; 
&lt;P&gt;I would like to implement a job which gets a parameter passed via context. So my context includes the parameter "file". I tried String and File so far. Based on this parameter I would like to have a tFileExists task to check if this file really exists.&lt;/P&gt; 
&lt;P&gt;Unfortunately it seems to, that this context parameter (context.file) is not recongnized by the task. tFileExists is telling me ok in every case.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;How is the best practice to do such a FileCheck?&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Can someone describe me, why tFileExists is saying that a file exists, even when the context is bogus?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thank you,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp;Christian&lt;/P&gt;</description>
      <pubDate>Thu, 13 Sep 2018 13:41:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileExist-with-external-parameter/m-p/2282995#M57020</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-13T13:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: tFileExist with external parameter</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileExist-with-external-parameter/m-p/2282996#M57021</link>
      <description>&lt;P&gt;Share your job design + tFileExists settings&lt;/P&gt;</description>
      <pubDate>Thu, 13 Sep 2018 14:24:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileExist-with-external-parameter/m-p/2282996#M57021</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-09-13T14:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: tFileExist with external parameter</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileExist-with-external-parameter/m-p/2282997#M57022</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;it is simple:&lt;BR /&gt;&lt;BR /&gt;Context:&lt;BR /&gt;file: c:/null (String)&lt;BR /&gt;&lt;BR /&gt;tFileExist (context.file) -- ok -- tMsgBox "ok"&lt;BR /&gt;/-- not ok -- tMsgBox "not ok"&lt;BR /&gt;&lt;BR /&gt;The result is in every case "ok".&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Sep 2018 14:41:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileExist-with-external-parameter/m-p/2282997#M57022</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-13T14:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: tFileExist with external parameter</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileExist-with-external-parameter/m-p/2282998#M57023</link>
      <description>&lt;P&gt;This is a common mistake.&lt;/P&gt;
&lt;P&gt;You need an "If" trigger to check the value of the "EXISTS" variable associated to the tFileExists component.&lt;/P&gt;
&lt;P&gt;The design should be tFileExists--(If trigger)--&amp;gt;tMsgBox.&lt;/P&gt;
&lt;P&gt;If the condition associated to the trigger is "((Boolean)globalMap.get("tFileExists_1_EXISTS"))" and the file exists, the tMsgBox will run.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Sep 2018 15:05:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileExist-with-external-parameter/m-p/2282998#M57023</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-09-13T15:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: tFileExist with external parameter</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileExist-with-external-parameter/m-p/2282999#M57024</link>
      <description>Thanks. That was helpful...</description>
      <pubDate>Thu, 13 Sep 2018 16:07:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileExist-with-external-parameter/m-p/2282999#M57024</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-13T16:07:06Z</dc:date>
    </item>
  </channel>
</rss>

