<?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: Howto trigger next subjob from tWaitForFile in loop mode in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Howto-trigger-next-subjob-from-tWaitForFile-in-loop-mode/m-p/2333612#M102378</link>
    <description>Hi, 
&lt;BR /&gt;thanks for the reply! - Unfortunately we are using the TOS in this project, not the TIS which means there are no joblets available &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; 
&lt;BR /&gt;But anyway, I have found a workaround: I did a little reengineering, and implemented the file handling logic directly into the main job (getting rid of the file handling pre-subjob). Then, when finished with the file handling pre stuff it comes up with a OnComponentOk event which I can use to trigger the next subjob. 
&lt;BR /&gt;Thanks so far! 
&lt;BR /&gt;Frank</description>
    <pubDate>Fri, 17 May 2013 12:40:26 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-05-17T12:40:26Z</dc:date>
    <item>
      <title>Howto trigger next subjob from tWaitForFile in loop mode</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Howto-trigger-next-subjob-from-tWaitForFile-in-loop-mode/m-p/2333610#M102376</link>
      <description>Hi, 
&lt;BR /&gt;I have a main job that starts with a file handling pre-job build of a tWaitForFile in continue loop mode which is listening on file creation in a certain directory. File creation triggers via iteration tFileCopy that moves the incoming file into a work directory. When finished the file handling pre-job should come back to the main job that OnSubjobOk triggers the next subjob for operation. - That is the idea. 
&lt;BR /&gt;This model works fine if I change the mode of tWaitForFile into exit loop mode; then the pre-job fires the OnSubjobOk event, and the main job starts the next operation's subjob. But in this mode the file handling pre-job with its tWaitForFile will not continue listening for incoming files. 
&lt;BR /&gt;If I change the tWaitForFile's mode into continue loop the file handling pre-job continues listenening for incoming files and moves them, but never fires the OnSubjobOk event (or OnComponentOk - same behaviour...), so the following operation's subjob is never started. 
&lt;BR /&gt;The hole model - main job and all subjobs - use context variables for directory paths, file name patterns etc.. 
&lt;BR /&gt; 
&lt;BR /&gt;I am using TOS 5.2.1. 
&lt;BR /&gt;Any hints are welcome! 
&lt;BR /&gt;-Thanks in advance, 
&lt;BR /&gt;Frank</description>
      <pubDate>Fri, 17 May 2013 08:37:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Howto-trigger-next-subjob-from-tWaitForFile-in-loop-mode/m-p/2333610#M102376</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-17T08:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: Howto trigger next subjob from tWaitForFile in loop mode</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Howto-trigger-next-subjob-from-tWaitForFile-in-loop-mode/m-p/2333611#M102377</link>
      <description>try to make job with tWaitForFile as Joblet and give on component ok to next subjob&lt;BR /&gt;as Joblet(job with tWaitForFile)----on Component ok-----&amp;gt; sub job&lt;BR /&gt;I am using tWaitForFile in similar way. try this it may work</description>
      <pubDate>Fri, 17 May 2013 11:50:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Howto-trigger-next-subjob-from-tWaitForFile-in-loop-mode/m-p/2333611#M102377</guid>
      <dc:creator>Raghunath</dc:creator>
      <dc:date>2013-05-17T11:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Howto trigger next subjob from tWaitForFile in loop mode</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Howto-trigger-next-subjob-from-tWaitForFile-in-loop-mode/m-p/2333612#M102378</link>
      <description>Hi, 
&lt;BR /&gt;thanks for the reply! - Unfortunately we are using the TOS in this project, not the TIS which means there are no joblets available &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; 
&lt;BR /&gt;But anyway, I have found a workaround: I did a little reengineering, and implemented the file handling logic directly into the main job (getting rid of the file handling pre-subjob). Then, when finished with the file handling pre stuff it comes up with a OnComponentOk event which I can use to trigger the next subjob. 
&lt;BR /&gt;Thanks so far! 
&lt;BR /&gt;Frank</description>
      <pubDate>Fri, 17 May 2013 12:40:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Howto-trigger-next-subjob-from-tWaitForFile-in-loop-mode/m-p/2333612#M102378</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-17T12:40:26Z</dc:date>
    </item>
  </channel>
</rss>

