<?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 [resolved] Loop/Repeat if there is an error in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Loop-Repeat-if-there-is-an-error/m-p/2368330#M131612</link>
    <description>Hey, 
&lt;BR /&gt;I am performing an API call that generates a file to an FTP server. My current job sleeps for some time and then runs the FTPGet component to pick up that file. 
&lt;BR /&gt;I would like to some how loop back to the sleep if the FTPGet Fails. 
&lt;BR /&gt;Ideally the trigger: On Component Error would allow me to go back to tSleep_1, but that doesn't seem possible. 
&lt;BR /&gt;Any ideas on how I could implement this functionality? 
&lt;BR /&gt;Thanks, 
&lt;BR /&gt;Brian 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt;</description>
    <pubDate>Sat, 13 Apr 2013 00:42:00 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-04-13T00:42:00Z</dc:date>
    <item>
      <title>[resolved] Loop/Repeat if there is an error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Loop-Repeat-if-there-is-an-error/m-p/2368330#M131612</link>
      <description>Hey, 
&lt;BR /&gt;I am performing an API call that generates a file to an FTP server. My current job sleeps for some time and then runs the FTPGet component to pick up that file. 
&lt;BR /&gt;I would like to some how loop back to the sleep if the FTPGet Fails. 
&lt;BR /&gt;Ideally the trigger: On Component Error would allow me to go back to tSleep_1, but that doesn't seem possible. 
&lt;BR /&gt;Any ideas on how I could implement this functionality? 
&lt;BR /&gt;Thanks, 
&lt;BR /&gt;Brian 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt;</description>
      <pubDate>Sat, 13 Apr 2013 00:42:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Loop-Repeat-if-there-is-an-error/m-p/2368330#M131612</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-04-13T00:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Loop/Repeat if there is an error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Loop-Repeat-if-there-is-an-error/m-p/2368331#M131613</link>
      <description>Use tLoop -iterate-&amp;gt; tSleep with the following settings:&lt;BR /&gt;Type: While&lt;BR /&gt;Declaration: globalMap.put("tFTPGet_1_CURRENT_STATUS","Transfer not attempted.")&lt;BR /&gt;Condition: !((String)globalMap.get("tFTPGet_1_CURRENT_STATUS")).equals("File transfer OK.")&lt;BR /&gt;Iteration: &lt;BR /&gt;tFTPGet sets that globalMap variable so once the file is transferred succesfully, your loop will terminate.</description>
      <pubDate>Mon, 15 Apr 2013 00:41:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Loop-Repeat-if-there-is-an-error/m-p/2368331#M131613</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2013-04-15T00:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Loop/Repeat if there is an error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Loop-Repeat-if-there-is-an-error/m-p/2368332#M131614</link>
      <description>Thanks alevy, exactly what I was looking for.
&lt;BR /&gt;I thought it had something to do with tLoop..</description>
      <pubDate>Mon, 15 Apr 2013 18:39:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Loop-Repeat-if-there-is-an-error/m-p/2368332#M131614</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-04-15T18:39:09Z</dc:date>
    </item>
  </channel>
</rss>

