<?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: How to do you pass a context variable group from Parent to child (trun)job in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-do-you-pass-a-context-variable-group-from-Parent-to-child/m-p/2350005#M116907</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Here is a KB article about: &lt;A href="https://community.talend.com/s/article/Passing-context-variables-from-Parent-job-to-Child-jobs" alt="https://community.talend.com/s/article/Passing-context-variables-from-Parent-job-to-Child-jobs" target="_blank"&gt;Passing context variables from Parent job to Child jobs&lt;/A&gt; on community and maybe you could use another way of approaching as well.&lt;/P&gt;&lt;P&gt;You can set up a routine with static public variables. These will be available across your whole job (parent and child jobs). You can set this up really easily like below....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;public class StaticVariables {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;public static String myString1;&lt;/P&gt;&lt;P&gt;public static int myInt1;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;....and access/assign these values using code like below (assuming your routine is called MyStaticVariables).....&lt;/P&gt;&lt;P&gt;routines.MyStaticVariables.myString1 = "Hello";&lt;/P&gt;&lt;P&gt;routines.MyStaticVariables.myInt1 = 100;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;System.out.println(routines.MyStaticVariables.myString1);&lt;/P&gt;&lt;P&gt;System.out.println(routines.MyStaticVariables.myInt1+"");&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Jun 2021 02:04:01 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-06-23T02:04:01Z</dc:date>
    <item>
      <title>How to do you pass a context variable group from Parent to child (trun)job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-do-you-pass-a-context-variable-group-from-Parent-to-child/m-p/2350003#M116905</link>
      <description>&lt;P&gt;How to do you pass a context variable group from Parent to child (trun)job&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:01:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-do-you-pass-a-context-variable-group-from-Parent-to-child/m-p/2350003#M116905</guid>
      <dc:creator>Ameyy</dc:creator>
      <dc:date>2024-11-16T00:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to do you pass a context variable group from Parent to child (trun)job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-do-you-pass-a-context-variable-group-from-Parent-to-child/m-p/2350004#M116906</link>
      <description>&lt;P&gt;@AVINASH MEYYAPPAN​&amp;nbsp;,check the below link.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;https://help.talend.com/r/1RJ7TatgS73nP1RPGjT50w/RGvRFDFE3zpmX_rYN63gUw&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Manohar&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jun 2021 05:58:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-do-you-pass-a-context-variable-group-from-Parent-to-child/m-p/2350004#M116906</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2021-06-22T05:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to do you pass a context variable group from Parent to child (trun)job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-do-you-pass-a-context-variable-group-from-Parent-to-child/m-p/2350005#M116907</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Here is a KB article about: &lt;A href="https://community.talend.com/s/article/Passing-context-variables-from-Parent-job-to-Child-jobs" alt="https://community.talend.com/s/article/Passing-context-variables-from-Parent-job-to-Child-jobs" target="_blank"&gt;Passing context variables from Parent job to Child jobs&lt;/A&gt; on community and maybe you could use another way of approaching as well.&lt;/P&gt;&lt;P&gt;You can set up a routine with static public variables. These will be available across your whole job (parent and child jobs). You can set this up really easily like below....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;public class StaticVariables {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;public static String myString1;&lt;/P&gt;&lt;P&gt;public static int myInt1;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;....and access/assign these values using code like below (assuming your routine is called MyStaticVariables).....&lt;/P&gt;&lt;P&gt;routines.MyStaticVariables.myString1 = "Hello";&lt;/P&gt;&lt;P&gt;routines.MyStaticVariables.myInt1 = 100;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;System.out.println(routines.MyStaticVariables.myString1);&lt;/P&gt;&lt;P&gt;System.out.println(routines.MyStaticVariables.myInt1+"");&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 02:04:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-do-you-pass-a-context-variable-group-from-Parent-to-child/m-p/2350005#M116907</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-23T02:04:01Z</dc:date>
    </item>
  </channel>
</rss>

