<?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 How do I add enforce subJob execution depending on successful completion of 2 other sub jobs in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-do-I-add-enforce-subJob-execution-depending-on-successful/m-p/2351388#M118053</link>
    <description>&lt;P&gt;I have requirement where in 2 subjobs run in parallel within a parent job. A third sub job needs to run only when both the previous 2 subjobs have completed successfully.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do i connect this flow? Do note that I do not have any requirement to pass the data from one subjob to another. All 3 are independent jobs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried onComponenetOK and onSubJobOK but I dont seem to be able to connect them from 2 subjobs to the 3rd subjob.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any guidance or help would be really appreciated.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Thu, 30 Nov 2017 06:42:30 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-11-30T06:42:30Z</dc:date>
    <item>
      <title>How do I add enforce subJob execution depending on successful completion of 2 other sub jobs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-do-I-add-enforce-subJob-execution-depending-on-successful/m-p/2351388#M118053</link>
      <description>&lt;P&gt;I have requirement where in 2 subjobs run in parallel within a parent job. A third sub job needs to run only when both the previous 2 subjobs have completed successfully.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do i connect this flow? Do note that I do not have any requirement to pass the data from one subjob to another. All 3 are independent jobs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried onComponenetOK and onSubJobOK but I dont seem to be able to connect them from 2 subjobs to the 3rd subjob.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any guidance or help would be really appreciated.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2017 06:42:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-do-I-add-enforce-subJob-execution-depending-on-successful/m-p/2351388#M118053</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-30T06:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: How do I add enforce subJob execution depending on successful completion of 2 other sub jobs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-do-I-add-enforce-subJob-execution-depending-on-successful/m-p/2351389#M118054</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wich Version of Talend do you have ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1 - If you have the paid version you could use the component tParallelize with the option :&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN class="emphasis"&gt;"Wait For &lt;/SPAN&gt;&lt;STRONG&gt;/&lt;/STRONG&gt; &lt;SPAN class="emphasis"&gt;end of all subjobs:&lt;/SPAN&gt; sequence the relevant &lt;/EM&gt;subjob&lt;EM&gt; to be executed at the end of all &lt;/EM&gt;subjobs&lt;EM&gt;"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Look at here : &lt;A href="https://help.talend.com/reader/KxVIhxtXBBFymmkkWJ~O4Q/J2Gx1RZDoO6xyhQalZJqUQ" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/KxVIhxtXBBFymmkkWJ~O4Q/J2Gx1RZDoO6xyhQalZJqUQ&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2 - You can also put the unloading subjobs into one job that is set for multi-thread execution (see Job/Extra tab) and then call that job in another job using a tRunJob linked with OnSubjobOK to the processing subjob.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3- You can also try a tPostJob. It will run a final subjob after all other components are complete.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2017 10:07:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-do-I-add-enforce-subJob-execution-depending-on-successful/m-p/2351389#M118054</guid>
      <dc:creator>Théo_Cap</dc:creator>
      <dc:date>2017-11-30T10:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do I add enforce subJob execution depending on successful completion of 2 other sub jobs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-do-I-add-enforce-subJob-execution-depending-on-successful/m-p/2351390#M118055</link>
      <description>&lt;P&gt;Thanks Aman for responding. I use paid version, Talend Studio for Big Data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. This solution would not suffice as my requirement is to trigger the job only upon &lt;U&gt;&lt;STRONG&gt;SUCCESSFUL&amp;nbsp;&lt;/STRONG&gt;&lt;/U&gt;completion of the previous 2 jobs. In case they fail, the 3rd job should not be triggered. tParallelize would not satisfy that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Moving the jobs into yet another job for the purpose of parallel execution would not satisfy in my case as my parent job has &amp;gt; 20 sub jobs and the 3 I mentioned are among them. And I have &amp;gt;10 such parent jobs. I do not want to move them to another subjob. In worst case, I can live with sequential execution but adding an extra job just for orchestration, I would like to avoid.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. This solution too has the same issue as with solution 1. It just waits but does not take into account the successful execution of the previous job&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2017 05:42:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-do-I-add-enforce-subJob-execution-depending-on-successful/m-p/2351390#M118055</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-01T05:42:47Z</dc:date>
    </item>
  </channel>
</rss>

