<?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 Subjobs , Conditional execution in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Subjobs-Conditional-execution/m-p/2311160#M82224</link>
    <description>&lt;P&gt;Hi All, I have following designs approaches which I have tried and do not work as I want. I want execution of subjob3 if 1 and 2 are completed successfully, if any 1 of it fails, it should not start subjob3.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With Design 1 ,I tried synchronize approach but its causing if any 1 of the sub job fails, Synchronize does nt stop but it starts the execution of subjob3. It should not do that.&lt;/P&gt;&lt;P&gt;Desgin1:&lt;/P&gt;&lt;P&gt;t parallel &amp;gt;Parallelize&amp;gt;tRunJob1&lt;/P&gt;&lt;P&gt; &amp;gt;Parallelize&amp;gt;&amp;gt;tRunJob2&lt;/P&gt;&lt;P&gt; &amp;gt;Synchronize&amp;gt;&amp;gt; tRunJob3&lt;/P&gt;&lt;P&gt;With Design 2 , the issue is if any of the subjob1 or 2 finishes , it starts the execution of subjob3 , I want to only start if both are successful, &lt;/P&gt;&lt;P&gt;Desgin2:&lt;/P&gt;&lt;P&gt;tparallel&amp;gt;&amp;gt; Parallelize &amp;gt;&amp;gt;tRunJob1 &amp;gt;&amp;gt; On component OK &amp;gt;&amp;gt; tRunJob3&lt;/P&gt;&lt;P&gt;              &amp;gt;&amp;gt;Parallelize&amp;gt;&amp;gt;tRunJob2&amp;gt;&amp;gt;On component OK &amp;gt;&amp;gt; tRunJob3&lt;/P&gt;&lt;P&gt; How Can I achieve this where I want to run subjob3 only if 1 &lt;B&gt;and&lt;/B&gt; 2 have successfully completion ? &lt;/P&gt;&lt;P&gt;Thank you !&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 00:59:17 GMT</pubDate>
    <dc:creator>rommy</dc:creator>
    <dc:date>2024-11-16T00:59:17Z</dc:date>
    <item>
      <title>Subjobs , Conditional execution</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Subjobs-Conditional-execution/m-p/2311160#M82224</link>
      <description>&lt;P&gt;Hi All, I have following designs approaches which I have tried and do not work as I want. I want execution of subjob3 if 1 and 2 are completed successfully, if any 1 of it fails, it should not start subjob3.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With Design 1 ,I tried synchronize approach but its causing if any 1 of the sub job fails, Synchronize does nt stop but it starts the execution of subjob3. It should not do that.&lt;/P&gt;&lt;P&gt;Desgin1:&lt;/P&gt;&lt;P&gt;t parallel &amp;gt;Parallelize&amp;gt;tRunJob1&lt;/P&gt;&lt;P&gt; &amp;gt;Parallelize&amp;gt;&amp;gt;tRunJob2&lt;/P&gt;&lt;P&gt; &amp;gt;Synchronize&amp;gt;&amp;gt; tRunJob3&lt;/P&gt;&lt;P&gt;With Design 2 , the issue is if any of the subjob1 or 2 finishes , it starts the execution of subjob3 , I want to only start if both are successful, &lt;/P&gt;&lt;P&gt;Desgin2:&lt;/P&gt;&lt;P&gt;tparallel&amp;gt;&amp;gt; Parallelize &amp;gt;&amp;gt;tRunJob1 &amp;gt;&amp;gt; On component OK &amp;gt;&amp;gt; tRunJob3&lt;/P&gt;&lt;P&gt;              &amp;gt;&amp;gt;Parallelize&amp;gt;&amp;gt;tRunJob2&amp;gt;&amp;gt;On component OK &amp;gt;&amp;gt; tRunJob3&lt;/P&gt;&lt;P&gt; How Can I achieve this where I want to run subjob3 only if 1 &lt;B&gt;and&lt;/B&gt; 2 have successfully completion ? &lt;/P&gt;&lt;P&gt;Thank you !&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:59:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Subjobs-Conditional-execution/m-p/2311160#M82224</guid>
      <dc:creator>rommy</dc:creator>
      <dc:date>2024-11-16T00:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: Subjobs , Conditional execution</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Subjobs-Conditional-execution/m-p/2311161#M82225</link>
      <description>&lt;P&gt;Hi  &lt;/P&gt;&lt;P&gt;Checking 'Multi thread execution' option instead of tParallelize component, change your job design to:&lt;/P&gt;&lt;P&gt;main job:&lt;/P&gt;&lt;P&gt;tRunjob4 (call child job)&lt;/P&gt;&lt;P&gt;|Onsubjobok&lt;/P&gt;&lt;P&gt;tRunjob3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in child job:&lt;/P&gt;&lt;P&gt;tRunjob1&lt;/P&gt;&lt;P&gt;tRunjob2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In child job, open &lt;B&gt;Job settings&lt;/B&gt; view, click &lt;B&gt;Extra &lt;/B&gt;tab and check the '&lt;B&gt;Multi thread execution&lt;/B&gt;' box. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;check the 'die on error' box on all of tRunJob component. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please try and let me know if it works.&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 09:00:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Subjobs-Conditional-execution/m-p/2311161#M82225</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-08T09:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: Subjobs , Conditional execution</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Subjobs-Conditional-execution/m-p/2311162#M82226</link>
      <description>&lt;P&gt;thank you for your response, in your job design , I will have to move subjob1 and 2 to another sub job , which will add 1 more sub job , This is we want to avoid if possible , is there a way to write expression or something else to achieve this ?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 14:28:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Subjobs-Conditional-execution/m-p/2311162#M82226</guid>
      <dc:creator>rommy</dc:creator>
      <dc:date>2020-12-08T14:28:58Z</dc:date>
    </item>
  </channel>
</rss>

