<?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 Wait for Input Feed file in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Wait-for-Input-Feed-file/m-p/2364464#M128205</link>
    <description>&lt;P&gt;Hi All&lt;BR /&gt;My project requirement is to check on input feed file location did file came from UPSTREAM, if yes the ETL should load it.&amp;nbsp;&lt;BR /&gt;In case feed file not came from UPSTREAM wait and check after sometime 3 attempts.&lt;BR /&gt;We have component like tWaitFile which is working perfectly once the file arrives.&lt;BR /&gt;I need help in case after 3 attempts of checking the file did't came how should i capture the flow and log error.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 23 May 2016 20:35:44 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2016-05-23T20:35:44Z</dc:date>
    <item>
      <title>Wait for Input Feed file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Wait-for-Input-Feed-file/m-p/2364464#M128205</link>
      <description>&lt;P&gt;Hi All&lt;BR /&gt;My project requirement is to check on input feed file location did file came from UPSTREAM, if yes the ETL should load it.&amp;nbsp;&lt;BR /&gt;In case feed file not came from UPSTREAM wait and check after sometime 3 attempts.&lt;BR /&gt;We have component like tWaitFile which is working perfectly once the file arrives.&lt;BR /&gt;I need help in case after 3 attempts of checking the file did't came how should i capture the flow and log error.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2016 20:35:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Wait-for-Input-Feed-file/m-p/2364464#M128205</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2016-05-23T20:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: Wait for Input Feed file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Wait-for-Input-Feed-file/m-p/2364465#M128206</link>
      <description>If tWaitForFile is not working for you, then it sounds like you need a loop.&lt;BR /&gt;tLoop-&amp;gt;tFileExists(NotExists)-&amp;gt;tJava_1&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; (Exists)-&amp;gt;tJava_2&lt;BR /&gt;In tJava_1, you can Thread.sleep(xxxx) and set a flag (globalMap) to indicate that the file was not found.&lt;BR /&gt;In tJava_2, you can set a flag (globalMap) to indicate that the file was found, and do your stuff. You'll also want to set the loop-to value to the current iteration count so that you're loop exists (read the help for the different tLoop options).&lt;BR /&gt;You can then have tLoop(OnSubJobOK)-&amp;gt;tJava_3&lt;BR /&gt;In tJava_3, you test your flag so that you can raise an error if no file was processed.</description>
      <pubDate>Tue, 24 May 2016 07:37:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Wait-for-Input-Feed-file/m-p/2364465#M128206</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-24T07:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: Wait for Input Feed file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Wait-for-Input-Feed-file/m-p/2364466#M128207</link>
      <description>Thanks mate for taking out the time and replying.</description>
      <pubDate>Wed, 25 May 2016 20:34:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Wait-for-Input-Feed-file/m-p/2364466#M128207</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2016-05-25T20:34:11Z</dc:date>
    </item>
  </channel>
</rss>

