<?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 Error/Failure handling with tFileDelete in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Error-Failure-handling-with-tFileDelete/m-p/2203652#M4868</link>
    <description>Dear Readers,
&lt;BR /&gt;In our Talend Job there is a tFileDelete component that cleans the content of a directory.
&lt;BR /&gt;However we need handle the case when at least one file could not be deleted.
&lt;BR /&gt;When the job executes all files but not the locked ones are deleted. These circumstance
&lt;BR /&gt;should trigger the mechanism "fail on error" but it is not. The link to "on subjob error"
&lt;BR /&gt;is not taken by the flow.
&lt;BR /&gt;Kind regards,
&lt;BR /&gt;Hilderich</description>
    <pubDate>Fri, 31 Jan 2014 12:48:29 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-01-31T12:48:29Z</dc:date>
    <item>
      <title>Error/Failure handling with tFileDelete</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-Failure-handling-with-tFileDelete/m-p/2203652#M4868</link>
      <description>Dear Readers,
&lt;BR /&gt;In our Talend Job there is a tFileDelete component that cleans the content of a directory.
&lt;BR /&gt;However we need handle the case when at least one file could not be deleted.
&lt;BR /&gt;When the job executes all files but not the locked ones are deleted. These circumstance
&lt;BR /&gt;should trigger the mechanism "fail on error" but it is not. The link to "on subjob error"
&lt;BR /&gt;is not taken by the flow.
&lt;BR /&gt;Kind regards,
&lt;BR /&gt;Hilderich</description>
      <pubDate>Fri, 31 Jan 2014 12:48:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-Failure-handling-with-tFileDelete/m-p/2203652#M4868</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-31T12:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error/Failure handling with tFileDelete</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-Failure-handling-with-tFileDelete/m-p/2203653#M4869</link>
      <description>Do you have "fail on error" checked in the component?
&lt;BR /&gt;If that doesn't work, you may try checking if there is an error message after the component executes.
&lt;BR /&gt;((String)globalMap.get("tFileDelete_1_ERROR_MESSAGE"))</description>
      <pubDate>Fri, 31 Jan 2014 15:16:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-Failure-handling-with-tFileDelete/m-p/2203653#M4869</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-31T15:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: Error/Failure handling with tFileDelete</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-Failure-handling-with-tFileDelete/m-p/2203654#M4870</link>
      <description>The file delete component is a bit strange designed!
&lt;BR /&gt;After delete the given file the success can only be seen by this check:
&lt;BR /&gt;
&lt;PRE&gt;"File deleted.".equals((String) globalMap.get("tFileDelete_1_CURRENT_STATUS"))&lt;/PRE&gt;
&lt;BR /&gt;This boolean expression can be used in the if trigger.
&lt;BR /&gt;For me this component is very bad designed. Why they do not have added a usable return value like DELETE_OK or let the component die if it does not work.
&lt;BR /&gt;Actually if have not seen any difference in the code for fail-on-error. Probably a bug.</description>
      <pubDate>Sat, 01 Feb 2014 15:17:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-Failure-handling-with-tFileDelete/m-p/2203654#M4870</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-01T15:17:08Z</dc:date>
    </item>
  </channel>
</rss>

