<?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] Trigger workflow after complete Iteration in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Trigger-workflow-after-complete-Iteration/m-p/2341614#M109552</link>
    <description>Hi Sabrina,&lt;BR /&gt;The exact scenario is as follows:&lt;BR /&gt;tFileList1 gets the list of all Directories of a specific pattern&lt;BR /&gt;Now, in each directory that it finds, it will contain many tif images as well as one xml file.&lt;BR /&gt;So, I need to copy all tiff images first to the destination and once that is complete, I should copy the xml file also to the target. So, XML file works like a flag for the downstream process indicating that the copy is complete.&lt;BR /&gt;So, I am finding challenge in determining the end of loop for tFileList2 and then perform a copy of XML file.</description>
    <pubDate>Tue, 26 Mar 2013 06:44:03 GMT</pubDate>
    <dc:creator>josephmundadan</dc:creator>
    <dc:date>2013-03-26T06:44:03Z</dc:date>
    <item>
      <title>[resolved] Trigger workflow after complete Iteration</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Trigger-workflow-after-complete-Iteration/m-p/2341612#M109550</link>
      <description>Hi All,
&lt;BR /&gt;Maybe this is a really silly question; but I am clueless here and require your expertise.
&lt;BR /&gt;I have two tFileList components which will work as follows:
&lt;BR /&gt;tFileList1 -&amp;gt;Iterate -&amp;gt; tFileList2 -&amp;gt;Iterate -&amp;gt; tFileCopy1
&lt;BR /&gt;Now the question is, once tFileList2 completes the iterations and before it passes the control back to tFileList1 for next iteration, I want to trigger another component. I cant use onComponetOkay as well as onSubJobOk for this requirement.
&lt;BR /&gt;Bascially I want to copy a particulat file once all copies are done using tFileList2 and before it moves to next iteration of tFileList1</description>
      <pubDate>Mon, 25 Mar 2013 14:38:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Trigger-workflow-after-complete-Iteration/m-p/2341612#M109550</guid>
      <dc:creator>josephmundadan</dc:creator>
      <dc:date>2013-03-25T14:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Trigger workflow after complete Iteration</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Trigger-workflow-after-complete-Iteration/m-p/2341613#M109551</link>
      <description>Hi, &lt;BR /&gt;Could you please elaborate your case with an example, such as, the source file? your expected result? what your requirement so that we can re-design a new workflow for you. &lt;BR /&gt;By the way, please refer to the component reference &lt;A href="https://help.talend.com/search/all?query=tFileList&amp;amp;content-lang=en" target="_blank" rel="nofollow noopener noreferrer"&gt;tFileList&lt;/A&gt; with related scenario.&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Tue, 26 Mar 2013 03:06:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Trigger-workflow-after-complete-Iteration/m-p/2341613#M109551</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-26T03:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Trigger workflow after complete Iteration</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Trigger-workflow-after-complete-Iteration/m-p/2341614#M109552</link>
      <description>Hi Sabrina,&lt;BR /&gt;The exact scenario is as follows:&lt;BR /&gt;tFileList1 gets the list of all Directories of a specific pattern&lt;BR /&gt;Now, in each directory that it finds, it will contain many tif images as well as one xml file.&lt;BR /&gt;So, I need to copy all tiff images first to the destination and once that is complete, I should copy the xml file also to the target. So, XML file works like a flag for the downstream process indicating that the copy is complete.&lt;BR /&gt;So, I am finding challenge in determining the end of loop for tFileList2 and then perform a copy of XML file.</description>
      <pubDate>Tue, 26 Mar 2013 06:44:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Trigger-workflow-after-complete-Iteration/m-p/2341614#M109552</guid>
      <dc:creator>josephmundadan</dc:creator>
      <dc:date>2013-03-26T06:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Trigger workflow after complete Iteration</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Trigger-workflow-after-complete-Iteration/m-p/2341615#M109553</link>
      <description>Hi josephmundadan, 
&lt;BR /&gt;So your requirement is that get all the tif image file firstly into your target and then get the only one xml file? It is in order, right? 
&lt;BR /&gt;Please see my scenario: I have many .txt files and only one .xls file in folder 2. I want to copy all the .txt file into my target 
&lt;BR /&gt;folder3 and then copy the .xls file. So my work flow is: 
&lt;BR /&gt;tfilelist1--&amp;gt; 
&lt;A href="https://help.talend.com/search/all?query=tFileCopy&amp;amp;content-lang=en" target="_blank" rel="nofollow noopener noreferrer"&gt;tfilecopy1&lt;/A&gt; 
&lt;BR /&gt;| 
&lt;BR /&gt;onSubjobok 
&lt;BR /&gt;| 
&lt;BR /&gt;tfilelist2--&amp;gt;tfilecopy2(see my pic) 
&lt;BR /&gt;Is that what you need? 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MECv.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142685iAEE64520CF251AF2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MECv.png" alt="0683p000009MECv.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Tue, 26 Mar 2013 08:50:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Trigger-workflow-after-complete-Iteration/m-p/2341615#M109553</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-26T08:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Trigger workflow after complete Iteration</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Trigger-workflow-after-complete-Iteration/m-p/2341616#M109554</link>
      <description>Hi Sabrina, 
&lt;BR /&gt;Thanks for your response. The scenario you had replicated is correct; however there is an additional looping to get the list of folders... 
&lt;BR /&gt;A detailed screen shot is atatched. I have kept all component properties into one single screenshot for quick look. 
&lt;BR /&gt;The main point is, I would still need to access the outer loop's iteration value from an inner loop; hence the iteration should not be breaked, like for example 
&lt;BR /&gt;typically, I would conceptualize something like below: 
&lt;BR /&gt;for (j=0;j&amp;lt;10;j++) 
&lt;BR /&gt;{ 
&lt;BR /&gt; for(i=0;i&amp;lt;10;i++) 
&lt;BR /&gt; { 
&lt;BR /&gt; System.out.println(j);//access outer loop's value 
&lt;BR /&gt; } 
&lt;BR /&gt;} 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MED0.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155363i4A222820E1D2F0EE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MED0.png" alt="0683p000009MED0.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Tue, 26 Mar 2013 10:32:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Trigger-workflow-after-complete-Iteration/m-p/2341616#M109554</guid>
      <dc:creator>josephmundadan</dc:creator>
      <dc:date>2013-03-26T10:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Trigger workflow after complete Iteration</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Trigger-workflow-after-complete-Iteration/m-p/2341617#M109555</link>
      <description>Hi josephmundadan, &lt;BR /&gt;I don't see the "A detailed screenshot", would you mind checking it?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Tue, 26 Mar 2013 10:36:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Trigger-workflow-after-complete-Iteration/m-p/2341617#M109555</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-26T10:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Trigger workflow after complete Iteration</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Trigger-workflow-after-complete-Iteration/m-p/2341618#M109556</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Hi josephmundadan, &lt;BR /&gt;I don't see the "A detailed screenshot", would you mind checking it?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;Sorry for the inconvenience. I have now uploaded the screen shot. Thanks for your help...!!!</description>
      <pubDate>Tue, 26 Mar 2013 10:42:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Trigger-workflow-after-complete-Iteration/m-p/2341618#M109556</guid>
      <dc:creator>josephmundadan</dc:creator>
      <dc:date>2013-03-26T10:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Trigger workflow after complete Iteration</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Trigger-workflow-after-complete-Iteration/m-p/2341619#M109557</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;Hi All,&lt;BR /&gt;Maybe this is a really silly question; but I am clueless here and require your expertise.&lt;BR /&gt;I have two tFileList components which will work as follows:&lt;BR /&gt;tFileList1 -&amp;gt;Iterate -&amp;gt; tFileList2 -&amp;gt;Iterate -&amp;gt; tFileCopy1&lt;BR /&gt;Now the question is, once tFileList2 completes the iterations and before it passes the control back to tFileList1 for next iteration, I want to trigger another component. I cant use onComponetOkay as well as onSubJobOk for this requirement.&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;To me, the job design looks like:
&lt;BR /&gt;tFileList1 -&amp;gt;Iterate -&amp;gt; tFileList2 -&amp;gt;Iterate -&amp;gt; tFileCopy1
&lt;BR /&gt; |
&lt;BR /&gt; oncomponentok
&lt;BR /&gt; |
&lt;BR /&gt; another component
&lt;BR /&gt;Why you said you can't use onComponetOk connector?
&lt;BR /&gt;Shong</description>
      <pubDate>Tue, 26 Mar 2013 13:54:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Trigger-workflow-after-complete-Iteration/m-p/2341619#M109557</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-26T13:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Trigger workflow after complete Iteration</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Trigger-workflow-after-complete-Iteration/m-p/2341620#M109558</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Why you said you can't use onComponetOk connector?&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;As I am using Iterate connector, if I use onComponentOk for the second component, it would be invoked after every iteration and also at the end of complete iteration too. I have tried printing tWarn and could find this scenario...</description>
      <pubDate>Tue, 26 Mar 2013 17:11:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Trigger-workflow-after-complete-Iteration/m-p/2341620#M109558</guid>
      <dc:creator>josephmundadan</dc:creator>
      <dc:date>2013-03-26T17:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Trigger workflow after complete Iteration</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Trigger-workflow-after-complete-Iteration/m-p/2341621#M109559</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;As I am using Iterate connector, if I use onComponentOk for the second component, it would be invoked after every iteration and also at the end of complete iteration too. I have tried printing tWarn and could find this scenario...&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;I don't agree with you, let's take the job design as below for example:
&lt;BR /&gt;tFileList1 -&amp;gt;Iterate -&amp;gt; tFileList2 -&amp;gt;Iterate -&amp;gt; tFileCopy1
&lt;BR /&gt; |
&lt;BR /&gt; onComponentOK
&lt;BR /&gt; |
&lt;BR /&gt; tJava_1
&lt;BR /&gt;tJava_1 starts to work only when tFileList_2 complete all the iterations, and before the next iteration of tFileList_1.
&lt;BR /&gt;Shong</description>
      <pubDate>Wed, 27 Mar 2013 04:04:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Trigger-workflow-after-complete-Iteration/m-p/2341621#M109559</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-27T04:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Trigger workflow after complete Iteration</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Trigger-workflow-after-complete-Iteration/m-p/2341622#M109560</link>
      <description>Thanks a lot Shong... That helped me address the issue... Highly appreciated.</description>
      <pubDate>Wed, 27 Mar 2013 07:23:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Trigger-workflow-after-complete-Iteration/m-p/2341622#M109560</guid>
      <dc:creator>josephmundadan</dc:creator>
      <dc:date>2013-03-27T07:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Trigger workflow after complete Iteration</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Trigger-workflow-after-complete-Iteration/m-p/2341623#M109561</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Thanks a lot Shong... That helped me address the issue... Highly appreciated.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;You are welcome! Thanks for your feedback! 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Shong</description>
      <pubDate>Wed, 27 Mar 2013 08:12:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Trigger-workflow-after-complete-Iteration/m-p/2341623#M109561</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-27T08:12:50Z</dc:date>
    </item>
  </channel>
</rss>

