<?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: Execute multiple flows in parallel after one component in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Execute-multiple-flows-in-parallel-after-one-component/m-p/2230995#M21445</link>
    <description>There could be many ways to implement&amp;amp;nbsp; 
&lt;BR /&gt;&amp;amp;nbsp; 
&lt;BR /&gt;Step 1 ) use Multi-Thread execution Option in TOS 
&lt;BR /&gt;Step 2) 
&lt;BR /&gt;option1) tWaitforFile - 
&lt;BR /&gt;&amp;amp;nbsp; 
&lt;BR /&gt;At the end of your main subjob , create/update/delete a file which will trigger all your subjob in parralel using&amp;amp;nbsp;tWaitforFile ( go with exit loop option) . Below link will help you how it work. 
&lt;BR /&gt;&amp;amp;nbsp; 
&lt;BR /&gt; 
&lt;A href="https://help.talend.com/reader/wDRBNUuxk629sNcI0dNYaA/bnMDJWu5G0EaJl8_KxcYyA" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/wDRBNUuxk629sNcI0dNYaA/bnMDJWu5G0EaJl8_KxcYyA&lt;/A&gt; 
&lt;BR /&gt;&amp;amp;nbsp; 
&lt;BR /&gt;Main Subjob -- &amp;amp;gt; trigger a action 
&lt;BR /&gt;twaitforfile_1 --&amp;amp;gt; (main) --&amp;amp;gt; tlogrow --&amp;amp;gt; on subjobOK --&amp;amp;gt; tdbinput_1 
&lt;BR /&gt;twaitforfile_2 --&amp;amp;gt; (main) --&amp;amp;gt; tlogrow --&amp;amp;gt; on subjobok --&amp;amp;gt; tdbinput_2 
&lt;BR /&gt;&amp;amp;nbsp; 
&lt;BR /&gt;option2) tLoop ( While condition)&amp;amp;nbsp; 
&lt;BR /&gt;&amp;amp;nbsp; 
&lt;BR /&gt;Create a global var VAR1 with which is true. At the end of your main subjob make VAR1 as false. 
&lt;BR /&gt;&amp;amp;nbsp; 
&lt;BR /&gt;tLoop_1--&amp;amp;gt; while&amp;amp;nbsp;VAR1&amp;amp;nbsp; is true --&amp;amp;gt; tJava ( does nothing) 
&lt;BR /&gt;| 
&lt;BR /&gt;On Subjob Ok ( when VAR1 will become false)&amp;amp;nbsp; 
&lt;BR /&gt;[ 
&lt;BR /&gt;tDbInput_1 
&lt;BR /&gt;&amp;amp;nbsp; 
&lt;BR /&gt;Both above approach error handling of main subjob should be done properly. 
&lt;BR /&gt; 
&lt;BR /&gt;Option3) Use multiple tPostJob ( if not already used and Not recommended option) 
&lt;BR /&gt;&amp;amp;nbsp; 
&lt;BR /&gt;tPostJob_1 --&amp;amp;gt; tDbinput_1 
&lt;BR /&gt;tPostJob_2 --&amp;amp;gt; tDbinput_2 
&lt;BR /&gt;&amp;amp;nbsp; 
&lt;BR /&gt;There could many other ways . 
&lt;BR /&gt;Let me know if it works. 
&lt;BR /&gt;&amp;amp;nbsp; 
&lt;BR /&gt;&amp;amp;nbsp;</description>
    <pubDate>Wed, 30 Jan 2019 19:03:01 GMT</pubDate>
    <dc:creator>akumar2301</dc:creator>
    <dc:date>2019-01-30T19:03:01Z</dc:date>
    <item>
      <title>Execute multiple flows in parallel after one component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Execute-multiple-flows-in-parallel-after-one-component/m-p/2230992#M21442</link>
      <description>&lt;P&gt;Hi, I am trying to create a job with TOS DI 7.0.1, where I can have multiple flows run in parallel after one component say for example a tJava component. Below is a screen shot. In the first step I want to create a concatenated string which will be the parameter for tDBInput_2,tDBInput_3,tDBInput_4,tDBInput_5 and tDBInput_6. Once that is created i am doing little bit more manipulation inside tJava_2. Once that is done i want to execute tDBIput_2,tDBIput_3,tDBIput_4,tDBIput_5 and tDBIput_6 all in parallel. How can i achieve that. I do not see tParallize in pallet. Thanks in advance.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Parallel.JPG" style="width: 903px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2KV.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156601i941487355B626E73/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2KV.jpg" alt="0683p000009M2KV.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 16:58:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Execute-multiple-flows-in-parallel-after-one-component/m-p/2230992#M21442</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-30T16:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: Execute multiple flows in parallel after one component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Execute-multiple-flows-in-parallel-after-one-component/m-p/2230993#M21443</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;That component is probably missing because you might be using the Open Source version of the product (which doesnt have that functionality).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can get around this by creating a subjob with just the 5 tDBINput flows in, then link that subjob in to your current job.&amp;nbsp;Ensure on the subjob, properties enable multi-thread execution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only caveat with any parallel processing strategy is consider whether your Talend execution server or database server can cope with these 5 processes being run together.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 17:11:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Execute-multiple-flows-in-parallel-after-one-component/m-p/2230993#M21443</guid>
      <dc:creator>David_Beaty</dc:creator>
      <dc:date>2019-01-30T17:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: Execute multiple flows in parallel after one component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Execute-multiple-flows-in-parallel-after-one-component/m-p/2230994#M21444</link>
      <description>&lt;P&gt;Thanks for the response. Is there any way i can get around this without a sub job?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 17:17:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Execute-multiple-flows-in-parallel-after-one-component/m-p/2230994#M21444</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-30T17:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: Execute multiple flows in parallel after one component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Execute-multiple-flows-in-parallel-after-one-component/m-p/2230995#M21445</link>
      <description>There could be many ways to implement&amp;amp;nbsp; 
&lt;BR /&gt;&amp;amp;nbsp; 
&lt;BR /&gt;Step 1 ) use Multi-Thread execution Option in TOS 
&lt;BR /&gt;Step 2) 
&lt;BR /&gt;option1) tWaitforFile - 
&lt;BR /&gt;&amp;amp;nbsp; 
&lt;BR /&gt;At the end of your main subjob , create/update/delete a file which will trigger all your subjob in parralel using&amp;amp;nbsp;tWaitforFile ( go with exit loop option) . Below link will help you how it work. 
&lt;BR /&gt;&amp;amp;nbsp; 
&lt;BR /&gt; 
&lt;A href="https://help.talend.com/reader/wDRBNUuxk629sNcI0dNYaA/bnMDJWu5G0EaJl8_KxcYyA" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/wDRBNUuxk629sNcI0dNYaA/bnMDJWu5G0EaJl8_KxcYyA&lt;/A&gt; 
&lt;BR /&gt;&amp;amp;nbsp; 
&lt;BR /&gt;Main Subjob -- &amp;amp;gt; trigger a action 
&lt;BR /&gt;twaitforfile_1 --&amp;amp;gt; (main) --&amp;amp;gt; tlogrow --&amp;amp;gt; on subjobOK --&amp;amp;gt; tdbinput_1 
&lt;BR /&gt;twaitforfile_2 --&amp;amp;gt; (main) --&amp;amp;gt; tlogrow --&amp;amp;gt; on subjobok --&amp;amp;gt; tdbinput_2 
&lt;BR /&gt;&amp;amp;nbsp; 
&lt;BR /&gt;option2) tLoop ( While condition)&amp;amp;nbsp; 
&lt;BR /&gt;&amp;amp;nbsp; 
&lt;BR /&gt;Create a global var VAR1 with which is true. At the end of your main subjob make VAR1 as false. 
&lt;BR /&gt;&amp;amp;nbsp; 
&lt;BR /&gt;tLoop_1--&amp;amp;gt; while&amp;amp;nbsp;VAR1&amp;amp;nbsp; is true --&amp;amp;gt; tJava ( does nothing) 
&lt;BR /&gt;| 
&lt;BR /&gt;On Subjob Ok ( when VAR1 will become false)&amp;amp;nbsp; 
&lt;BR /&gt;[ 
&lt;BR /&gt;tDbInput_1 
&lt;BR /&gt;&amp;amp;nbsp; 
&lt;BR /&gt;Both above approach error handling of main subjob should be done properly. 
&lt;BR /&gt; 
&lt;BR /&gt;Option3) Use multiple tPostJob ( if not already used and Not recommended option) 
&lt;BR /&gt;&amp;amp;nbsp; 
&lt;BR /&gt;tPostJob_1 --&amp;amp;gt; tDbinput_1 
&lt;BR /&gt;tPostJob_2 --&amp;amp;gt; tDbinput_2 
&lt;BR /&gt;&amp;amp;nbsp; 
&lt;BR /&gt;There could many other ways . 
&lt;BR /&gt;Let me know if it works. 
&lt;BR /&gt;&amp;amp;nbsp; 
&lt;BR /&gt;&amp;amp;nbsp;</description>
      <pubDate>Wed, 30 Jan 2019 19:03:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Execute-multiple-flows-in-parallel-after-one-component/m-p/2230995#M21445</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2019-01-30T19:03:01Z</dc:date>
    </item>
  </channel>
</rss>

