<?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] Wait for Multiple Component Oks in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Wait-for-Multiple-Component-Oks/m-p/2290630#M63895</link>
    <description>Hi,
&lt;BR /&gt;You could first insert or update the datas and then do a subjob to delete the files which are in the folder.
&lt;BR /&gt;tfileList-----your job without the deletion
&lt;BR /&gt;|
&lt;BR /&gt;on subjob ok
&lt;BR /&gt;|
&lt;BR /&gt;tfileList----tfileDelete
&lt;BR /&gt;
&lt;BR /&gt;Or you could also put your job in an other job. So your job will look like this
&lt;BR /&gt;tRunJob_1---tFileList----tRunJob_2----oncomponentok----tFileDelete
&lt;BR /&gt;You would just have to pass the current path of the tFileList in the tRunJob_2.</description>
    <pubDate>Thu, 19 Jan 2012 13:07:26 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-01-19T13:07:26Z</dc:date>
    <item>
      <title>[resolved] Wait for Multiple Component Oks</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Wait-for-Multiple-Component-Oks/m-p/2290629#M63894</link>
      <description>I am working on a job where I create a file, process it, and then I want to delete it. I want to handle the potential for reprocessing a file, so I perform a lookup to see if the record exists and then insert/update accordingly. I am iterating over a list of files that are created. So if there are 5 files, I want to process each one individually and after it is done processing, I want to delete it. The problem that I am having is that the delete step is executed after the first ComponentOk hits it and not the last. I tested it with using the "Insert or Update" and "Update or Insert", but the performance was not as good. It took almost twice as long to complete. I thought about moving the delete until after the subjob finishes, but in the case of an error, the files that were successful would not be removed. I appreciate any thoughts on this.</description>
      <pubDate>Sat, 16 Nov 2024 12:26:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Wait-for-Multiple-Component-Oks/m-p/2290629#M63894</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Wait for Multiple Component Oks</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Wait-for-Multiple-Component-Oks/m-p/2290630#M63895</link>
      <description>Hi,
&lt;BR /&gt;You could first insert or update the datas and then do a subjob to delete the files which are in the folder.
&lt;BR /&gt;tfileList-----your job without the deletion
&lt;BR /&gt;|
&lt;BR /&gt;on subjob ok
&lt;BR /&gt;|
&lt;BR /&gt;tfileList----tfileDelete
&lt;BR /&gt;
&lt;BR /&gt;Or you could also put your job in an other job. So your job will look like this
&lt;BR /&gt;tRunJob_1---tFileList----tRunJob_2----oncomponentok----tFileDelete
&lt;BR /&gt;You would just have to pass the current path of the tFileList in the tRunJob_2.</description>
      <pubDate>Thu, 19 Jan 2012 13:07:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Wait-for-Multiple-Component-Oks/m-p/2290630#M63895</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-01-19T13:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Wait for Multiple Component Oks</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Wait-for-Multiple-Component-Oks/m-p/2290631#M63896</link>
      <description>Thank you! The second option worked like a charm. I had thought about the first option, but in the event that one of the files failed, none of them would be removed. The subjob worked perfectly though. Thanks again!</description>
      <pubDate>Thu, 19 Jan 2012 14:02:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Wait-for-Multiple-Component-Oks/m-p/2290631#M63896</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-01-19T14:02:25Z</dc:date>
    </item>
  </channel>
</rss>

