<?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: Unable to pass context variables between Parent Job and SubJob in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Unable-to-pass-context-variables-between-Parent-Job-and-SubJob/m-p/2366888#M130322</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;It is NullPointerException error, one variable is null value however it shouldn't. &lt;/P&gt;&lt;P&gt;In child job,  print the value of these context variable before they are used to see if the values are passed correctly from parent job. &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;</description>
    <pubDate>Mon, 08 Jan 2024 02:32:42 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-01-08T02:32:42Z</dc:date>
    <item>
      <title>Unable to pass context variables between Parent Job and SubJob</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Unable-to-pass-context-variables-between-Parent-Job-and-SubJob/m-p/2366887#M130321</link>
      <description>&lt;P&gt;Hello Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you are doing well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm new to Talend and I need your help. I've been working on a Talend Job using Snowflake. Within this job, I have a sub Job that includes a tDBROW component that executes a stored procedure. This procedure expects certain context variables to be utilized in the call to the Store Proc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the SubJob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="069U1000001ljh3IAA.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137042i5984A56B0F1BC25E/image-size/large?v=v2&amp;amp;px=999" role="button" title="069U1000001ljh3IAA.png" alt="069U1000001ljh3IAA.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SubJob is working as expected. However, an issue arises here:&lt;/P&gt;&lt;P&gt;The idea is to define these variables in the tRunJob component to use them in the child Job Execution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="069U1000001ljltIAA.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150386iDBA520325CFF7529/image-size/large?v=v2&amp;amp;px=999" role="button" title="069U1000001ljltIAA.png" alt="069U1000001ljltIAA.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have defined the context variables in the SubJob with the same names, and I'm expecting to use the values that I defined here. However, I'm encountering the following error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="069U1000001lhgsIAA.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148491iEC8AB3907470AD03/image-size/large?v=v2&amp;amp;px=999" role="button" title="069U1000001lhgsIAA.png" alt="069U1000001lhgsIAA.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run the SubJob independently, it works, and I get the data inserted. But if I run the parent job, things break. I wanted to know if anyone has faced this type of issue and can provide me with a hint on how to resolve it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;RB&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:08:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Unable-to-pass-context-variables-between-Parent-Job-and-SubJob/m-p/2366887#M130321</guid>
      <dc:creator>RodBoni8587</dc:creator>
      <dc:date>2024-11-15T21:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to pass context variables between Parent Job and SubJob</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Unable-to-pass-context-variables-between-Parent-Job-and-SubJob/m-p/2366888#M130322</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;It is NullPointerException error, one variable is null value however it shouldn't. &lt;/P&gt;&lt;P&gt;In child job,  print the value of these context variable before they are used to see if the values are passed correctly from parent job. &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;</description>
      <pubDate>Mon, 08 Jan 2024 02:32:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Unable-to-pass-context-variables-between-Parent-Job-and-SubJob/m-p/2366888#M130322</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-01-08T02:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to pass context variables between Parent Job and SubJob</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Unable-to-pass-context-variables-between-Parent-Job-and-SubJob/m-p/2366889#M130323</link>
      <description>&lt;P&gt;Is there's any specific configuration I should change in order to move those context variables ? &lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2024 02:52:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Unable-to-pass-context-variables-between-Parent-Job-and-SubJob/m-p/2366889#M130323</guid>
      <dc:creator>RodBoni8587</dc:creator>
      <dc:date>2024-01-08T02:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to pass context variables between Parent Job and SubJob</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Unable-to-pass-context-variables-between-Parent-Job-and-SubJob/m-p/2366890#M130324</link>
      <description>&lt;P&gt;I see you have checked the 'transmit whole context' box on tRunJob, so you don't need to specify these context variables in the table list. &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="069U1000001oRPSIA2.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147198i7193390A49F6648D/image-size/large?v=v2&amp;amp;px=999" role="button" title="069U1000001oRPSIA2.png" alt="069U1000001oRPSIA2.png" /&gt;&lt;/span&gt;With this option is enable, the value of context variables from patent job will be passed automatically to child job's variable which have the same name. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2024 06:44:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Unable-to-pass-context-variables-between-Parent-Job-and-SubJob/m-p/2366890#M130324</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-01-09T06:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to pass context variables between Parent Job and SubJob</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Unable-to-pass-context-variables-between-Parent-Job-and-SubJob/m-p/2366891#M130325</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;you must ensure that the checkbox on the tRunJob to indicate you want to run the subjob in a separate VM is UNchecked. If it is checked, then the 2 differents JVM will not be able to share any values and the only way to retrieve values from the subjob is to write the context down to a file a re-read it from the master.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 14:12:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Unable-to-pass-context-variables-between-Parent-Job-and-SubJob/m-p/2366891#M130325</guid>
      <dc:creator>konvertilo</dc:creator>
      <dc:date>2024-01-11T14:12:57Z</dc:date>
    </item>
  </channel>
</rss>

