<?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 Pass One Subjob Global Variable or Context to another Subjob in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Pass-One-Subjob-Global-Variable-or-Context-to-another-Subjob/m-p/2290230#M63529</link>
    <description>Hi All, 
&lt;BR /&gt;I am designing a Job where 2 Child Job is present. Subjob1 will be an Audit Job from where a key(number) will be generated from Database Query. I want to pass this key value fiest to Parent Job and then to other Subjobs where audit column will be populated. Can anyone tell me how to achieve this? 
&lt;A href="https://community.qlik.com/s/profile/0053p000007LKj7AAG"&gt;@TRF&lt;/A&gt;, 
&lt;A href="https://community.qlik.com/s/profile/005390000069RuGAAU"&gt;@rhall&lt;/A&gt;, 
&lt;A href="https://community.qlik.com/s/profile/0053p000007LLseAAG"&gt;@vboppudi&lt;/A&gt;</description>
    <pubDate>Sun, 22 Apr 2018 08:01:59 GMT</pubDate>
    <dc:creator>abhi90</dc:creator>
    <dc:date>2018-04-22T08:01:59Z</dc:date>
    <item>
      <title>Pass One Subjob Global Variable or Context to another Subjob</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Pass-One-Subjob-Global-Variable-or-Context-to-another-Subjob/m-p/2290230#M63529</link>
      <description>Hi All, 
&lt;BR /&gt;I am designing a Job where 2 Child Job is present. Subjob1 will be an Audit Job from where a key(number) will be generated from Database Query. I want to pass this key value fiest to Parent Job and then to other Subjobs where audit column will be populated. Can anyone tell me how to achieve this? 
&lt;A href="https://community.qlik.com/s/profile/0053p000007LKj7AAG"&gt;@TRF&lt;/A&gt;, 
&lt;A href="https://community.qlik.com/s/profile/005390000069RuGAAU"&gt;@rhall&lt;/A&gt;, 
&lt;A href="https://community.qlik.com/s/profile/0053p000007LLseAAG"&gt;@vboppudi&lt;/A&gt;</description>
      <pubDate>Sun, 22 Apr 2018 08:01:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Pass-One-Subjob-Global-Variable-or-Context-to-another-Subjob/m-p/2290230#M63529</guid>
      <dc:creator>abhi90</dc:creator>
      <dc:date>2018-04-22T08:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: Pass One Subjob Global Variable or Context to another Subjob</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Pass-One-Subjob-Global-Variable-or-Context-to-another-Subjob/m-p/2290231#M63530</link>
      <description>Have a look at this page 
&lt;A href="https://community.qlik.com/s/article/ka03p0000006EYYAA2" target="_blank"&gt;https://community.talend.com/t5/Design-and-Development/Returning-a-value-from-a-child-Job-to-the-parent-Job/ta-p/21571&lt;/A&gt; 
&lt;BR /&gt;To pass value from parent to child job, propagate context variables.</description>
      <pubDate>Sun, 22 Apr 2018 08:11:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Pass-One-Subjob-Global-Variable-or-Context-to-another-Subjob/m-p/2290231#M63530</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-04-22T08:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: Pass One Subjob Global Variable or Context to another Subjob</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Pass-One-Subjob-Global-Variable-or-Context-to-another-Subjob/m-p/2290232#M63531</link>
      <description>Hi 
&lt;A href="https://community.qlik.com/s/profile/0053p000007LKj7AAG"&gt;@TRF&lt;/A&gt;,
&lt;BR /&gt;Thanks for the nice reply. Just one question so After fetching key value from database i should use tbufferoutput right? Where in toracleinput and tbufferoutput both should be having schema column key. Now in the Parent Job key should be context right?</description>
      <pubDate>Sun, 22 Apr 2018 14:17:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Pass-One-Subjob-Global-Variable-or-Context-to-another-Subjob/m-p/2290232#M63531</guid>
      <dc:creator>abhi90</dc:creator>
      <dc:date>2018-04-22T14:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: Pass One Subjob Global Variable or Context to another Subjob</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Pass-One-Subjob-Global-Variable-or-Context-to-another-Subjob/m-p/2290233#M63532</link>
      <description>&lt;P&gt;Yes, you'll use tBufferOutput from the child job to transmit values to the parent.&lt;/P&gt; 
&lt;P&gt;The schema associated to the&amp;nbsp;&lt;SPAN&gt;tBufferOutput&amp;nbsp;must be the same for both jobs.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;In the parent job, the schema is defined on the tRunJob component.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Also, in this job you need to indicate you want the result propagated from the child to the parent.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;You need to go to the tRunJob&amp;nbsp;Advanced Settings tab and tick the appropriate option.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Now, if you want to call an other child job with these values as parameters, connect&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;a tJavaRow after the tRunJob and set the context variables.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;The general design should look like this:&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;tSomeComponentOrNot--&amp;gt;&lt;BR /&gt;     tRunJob (child will return values to the parent)--&amp;gt;&lt;BR /&gt;          tJavaRow (set the context variables)--&amp;gt;&lt;BR /&gt;               tRunJob (passing the whole context to the child job)&lt;/PRE&gt; 
&lt;P&gt;&lt;SPAN&gt;Hope this helps you to solve your case.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 22 Apr 2018 16:02:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Pass-One-Subjob-Global-Variable-or-Context-to-another-Subjob/m-p/2290233#M63532</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-04-22T16:02:11Z</dc:date>
    </item>
  </channel>
</rss>

