<?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 Job orchestration and global vars with iterations in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Job-orchestration-and-global-vars-with-iterations/m-p/2321836#M91832</link>
    <description>&lt;P&gt;I created this sample job which has multiple flow to iterate components and iterations are set to 40 and 2&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Question;&amp;nbsp;can I trust that the globalVar which is set in subjob1 will be the same in subjob2? or could it be a different one caused by the number of concurrent iterations?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot from 2017-07-11 10-51-35.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LvN8.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152204i41D0F392B0E9DFFA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LvN8.png" alt="0683p000009LvN8.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Jul 2017 09:59:14 GMT</pubDate>
    <dc:creator>Aukema</dc:creator>
    <dc:date>2017-07-11T09:59:14Z</dc:date>
    <item>
      <title>Job orchestration and global vars with iterations</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Job-orchestration-and-global-vars-with-iterations/m-p/2321836#M91832</link>
      <description>&lt;P&gt;I created this sample job which has multiple flow to iterate components and iterations are set to 40 and 2&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Question;&amp;nbsp;can I trust that the globalVar which is set in subjob1 will be the same in subjob2? or could it be a different one caused by the number of concurrent iterations?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot from 2017-07-11 10-51-35.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LvN8.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152204i41D0F392B0E9DFFA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LvN8.png" alt="0683p000009LvN8.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2017 09:59:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Job-orchestration-and-global-vars-with-iterations/m-p/2321836#M91832</guid>
      <dc:creator>Aukema</dc:creator>
      <dc:date>2017-07-11T09:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: Job orchestration and global vars with iterations</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Job-orchestration-and-global-vars-with-iterations/m-p/2321837#M91833</link>
      <description>Hi 
&lt;BR /&gt;You can set the key with the current iteration number, eg: 
&lt;BR /&gt;"Key"+((Integer)globalMap.get("tFlowToIterate_1_CURRENT_ITERATION")) 
&lt;BR /&gt;It ensures the global var is always the same in subjob1 and subjob2 even though you use concurrent iterations. 
&lt;BR /&gt; 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Tue, 11 Jul 2017 10:57:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Job-orchestration-and-global-vars-with-iterations/m-p/2321837#M91833</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-11T10:57:03Z</dc:date>
    </item>
  </channel>
</rss>

