<?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 Help designing an Orchestrator with tWaitForFile in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Help-designing-an-Orchestrator-with-tWaitForFile/m-p/2360236#M124863</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been trying to build an Orchestrator that works in this way:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Always wait for a file to be created inside a folder (Can be its subfolders too)&lt;/LI&gt;&lt;LI&gt;Depending on the file extension, it executes a subprocess&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's the general idea, so what I tried to do is use tWaitForFile as seen in this image:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000HrnWFAAZ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146820i7D427B7BB70EB467/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000HrnWFAAZ.png" alt="0695b00000HrnWFAAZ.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have a couple of issues with this:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;tWaitForFile seems to accept only one filemask, and not multiple ones, if that's the case, is there a better way to do this?&lt;/LI&gt;&lt;LI&gt;If I use the "Run if" from either tWaitForFile or tSetGlobalVar_1 (To run depending on the file mask), if tWaitForFile continues the loop after a file was created, it doesn't seem to execute the child jobs&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other idea is to have one tWaitForFile per mask (.accdb, .xlsx, etc) and running them all in parallel continously.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any better way to do this? Maybe I'm missing something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope I marked it in the right label, considering this is a pipeline anyways. Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 23:51:47 GMT</pubDate>
    <dc:creator>jetchebarne</dc:creator>
    <dc:date>2024-11-15T23:51:47Z</dc:date>
    <item>
      <title>Help designing an Orchestrator with tWaitForFile</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Help-designing-an-Orchestrator-with-tWaitForFile/m-p/2360236#M124863</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been trying to build an Orchestrator that works in this way:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Always wait for a file to be created inside a folder (Can be its subfolders too)&lt;/LI&gt;&lt;LI&gt;Depending on the file extension, it executes a subprocess&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's the general idea, so what I tried to do is use tWaitForFile as seen in this image:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000HrnWFAAZ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146820i7D427B7BB70EB467/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000HrnWFAAZ.png" alt="0695b00000HrnWFAAZ.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have a couple of issues with this:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;tWaitForFile seems to accept only one filemask, and not multiple ones, if that's the case, is there a better way to do this?&lt;/LI&gt;&lt;LI&gt;If I use the "Run if" from either tWaitForFile or tSetGlobalVar_1 (To run depending on the file mask), if tWaitForFile continues the loop after a file was created, it doesn't seem to execute the child jobs&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other idea is to have one tWaitForFile per mask (.accdb, .xlsx, etc) and running them all in parallel continously.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any better way to do this? Maybe I'm missing something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope I marked it in the right label, considering this is a pipeline anyways. Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:51:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Help-designing-an-Orchestrator-with-tWaitForFile/m-p/2360236#M124863</guid>
      <dc:creator>jetchebarne</dc:creator>
      <dc:date>2024-11-15T23:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: Help designing an Orchestrator with tWaitForFile</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Help-designing-an-Orchestrator-with-tWaitForFile/m-p/2360237#M124864</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;tWaitforFile does not support multiple file masks, as you said, use several tWaitForFile per different file masks and run them in parallel. To do,  open the &lt;B&gt;Job Settings&lt;/B&gt; view, click &lt;B&gt;Extra &lt;/B&gt;panel and check &lt;B&gt;'Multi thread execution&lt;/B&gt;' box. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Aug 2021 10:02:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Help-designing-an-Orchestrator-with-tWaitForFile/m-p/2360237#M124864</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-08-12T10:02:42Z</dc:date>
    </item>
  </channel>
</rss>

