<?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: Context issues with subjob in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Context-issues-with-subjob/m-p/2348623#M115732</link>
    <description>&lt;P&gt;I think the Transmit whole context does not work because the context groups are on my repository and I drag them to the job. It is not as if I had created some context variables on my job.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the tContextLoad I dont think that would suit me either because as I said, all the information is on the context groups of my repository, not in files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do I have understood it correctly?&lt;/P&gt;&lt;P&gt;Thank you for your help&lt;/P&gt;</description>
    <pubDate>Thu, 08 Jun 2023 07:46:03 GMT</pubDate>
    <dc:creator>AlSalvC</dc:creator>
    <dc:date>2023-06-08T07:46:03Z</dc:date>
    <item>
      <title>Context issues with subjob</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Context-issues-with-subjob/m-p/2348619#M115728</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I have a subjob that uses a set of context groups. During the developement phase of this subjob I loaded manually the context groups that I needed. But now I have set up a parent job that will run the subjob multiple times automatically. While executing the parentjob, it seems that the contexts that I loaded manually are not loaded. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I make it so that some context groups are loaded at the beggining of the execution of the subjob?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:42:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Context-issues-with-subjob/m-p/2348619#M115728</guid>
      <dc:creator>AlSalvC</dc:creator>
      <dc:date>2024-11-15T21:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: Context issues with subjob</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Context-issues-with-subjob/m-p/2348620#M115729</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;Did you mean that select the context variables from repository into subjob or load new value to context variable? Can you explain what you do 'loaded manually the context groups'?&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;</description>
      <pubDate>Wed, 07 Jun 2023 11:22:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Context-issues-with-subjob/m-p/2348620#M115729</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-06-07T11:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: Context issues with subjob</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Context-issues-with-subjob/m-p/2348621#M115730</link>
      <description>&lt;P&gt;Hi, I mean that I clicked and dragged the context group onto my job (maybe there is another way, but this is how I do it). So yes, I used the context group from the repository.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 11:50:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Context-issues-with-subjob/m-p/2348621#M115730</guid>
      <dc:creator>AlSalvC</dc:creator>
      <dc:date>2023-06-07T11:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: Context issues with subjob</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Context-issues-with-subjob/m-p/2348622#M115731</link>
      <description>&lt;P&gt;Hi @Lucas Pujol​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you check the option "Transmit whole context" on the tRunJob components? That way all the context variables and values set in the parent job would be transmitted to the child jobs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another useful resource, depending on what you want to achieve, would be using tContextLoad component. It takes key/value parameters from an input (that could be files or database tables, for example) and fill the job context with them.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 02:23:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Context-issues-with-subjob/m-p/2348622#M115731</guid>
      <dc:creator>anselmopeixoto</dc:creator>
      <dc:date>2023-06-08T02:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: Context issues with subjob</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Context-issues-with-subjob/m-p/2348623#M115732</link>
      <description>&lt;P&gt;I think the Transmit whole context does not work because the context groups are on my repository and I drag them to the job. It is not as if I had created some context variables on my job.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the tContextLoad I dont think that would suit me either because as I said, all the information is on the context groups of my repository, not in files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do I have understood it correctly?&lt;/P&gt;&lt;P&gt;Thank you for your help&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 07:46:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Context-issues-with-subjob/m-p/2348623#M115732</guid>
      <dc:creator>AlSalvC</dc:creator>
      <dc:date>2023-06-08T07:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: Context issues with subjob</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Context-issues-with-subjob/m-p/2348624#M115733</link>
      <description>&lt;P&gt;If you have dropped the context group onto job, open the Context viewer, you can see the variables there, these variables are imported from repository.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000hu60GAAQ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135373i086158620A401E45/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000hu60GAAQ.png" alt="0695b00000hu60GAAQ.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 10:13:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Context-issues-with-subjob/m-p/2348624#M115733</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-06-08T10:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Context issues with subjob</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Context-issues-with-subjob/m-p/2348625#M115734</link>
      <description>&lt;P&gt;Yes, on the subjob the context are loaded. If I run the subjob it works fine, but if I run the parentjob, the subjob does not work and I think it is because of the context.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 12:00:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Context-issues-with-subjob/m-p/2348625#M115734</guid>
      <dc:creator>AlSalvC</dc:creator>
      <dc:date>2023-06-08T12:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: Context issues with subjob</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Context-issues-with-subjob/m-p/2348626#M115735</link>
      <description>&lt;P&gt;I think we need more information about your problem, can you show us what are you getting now? and what behavior do you expect? Some screenshots will be helpful for us to understand the problem well. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 18:31:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Context-issues-with-subjob/m-p/2348626#M115735</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-06-08T18:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: Context issues with subjob</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Context-issues-with-subjob/m-p/2348627#M115736</link>
      <description>&lt;P&gt;Sure, my parent job looks like this. &lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000huCzFAAU.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134707iDE3A6ABB8EAFD5EB/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000huCzFAAU.png" alt="0695b00000huCzFAAU.png" /&gt;&lt;/span&gt;My runjob component is configured like this: &lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000huCzKAAU.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150978iAD407879B5207937/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000huCzKAAU.png" alt="0695b00000huCzKAAU.png" /&gt;&lt;/span&gt;I know the value expression is correct because I have copied the same thing onto a java component and it gave the good result.&lt;/P&gt;&lt;P&gt;On my child job I have set another tjava component with the next expressions: &lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000huCzZAAU.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152725iE7889E3B314CEC47/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000huCzZAAU.png" alt="0695b00000huCzZAAU.png" /&gt;&lt;/span&gt;But all of them give me null values. &lt;/P&gt;&lt;P&gt;My context on the child job is configured like this: &lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000huD0mAAE.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151605i89123B98F97B58E8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000huD0mAAE.png" alt="0695b00000huD0mAAE.png" /&gt;&lt;/span&gt;What am I missing? I just followed this tutorial : https://help.talend.com/r/en-US/7.3/system/trunjob-tflowtoiterate-tfileinputdelimited-tjava-creating-child-job-to-get-value-from-parent-job-standard-component-create&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 08:42:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Context-issues-with-subjob/m-p/2348627#M115736</guid>
      <dc:creator>AlSalvC</dc:creator>
      <dc:date>2023-06-09T08:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: Context issues with subjob</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Context-issues-with-subjob/m-p/2348628#M115737</link>
      <description>&lt;P&gt;It is working!! It was a stupid mistake. I forgot to add this&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000huD53AAE.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147321i8E7340171469E539/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000huD53AAE.png" alt="0695b00000huD53AAE.png" /&gt;&lt;/span&gt;If it is not that, maybe it is of how I called the variable in the child context. I am not sure because I made both changes at the same time&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 09:24:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Context-issues-with-subjob/m-p/2348628#M115737</guid>
      <dc:creator>AlSalvC</dc:creator>
      <dc:date>2023-06-09T09:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: Context issues with subjob</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Context-issues-with-subjob/m-p/2348629#M115738</link>
      <description>&lt;P&gt;You don't need to define the schema of tRunJob (ControlDateTest), you have already defined the context variables in child job, so you are able to select the context variables from the &lt;B&gt;Context Param&lt;/B&gt; table in the basic setting panel of tRunJob.&lt;/P&gt;&lt;P&gt;To use a context variable, the expression is:&lt;/P&gt;&lt;P&gt;context.varName&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;eg:&lt;/P&gt;&lt;P&gt;System.out.println("the value of context variable is: "+context.varName);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 09:35:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Context-issues-with-subjob/m-p/2348629#M115738</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-06-09T09:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: Context issues with subjob</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Context-issues-with-subjob/m-p/2348630#M115739</link>
      <description>&lt;P&gt;Okay, So the problem was how I was calling the variable in the childjob. Thank you so much&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 10:25:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Context-issues-with-subjob/m-p/2348630#M115739</guid>
      <dc:creator>AlSalvC</dc:creator>
      <dc:date>2023-06-09T10:25:41Z</dc:date>
    </item>
  </channel>
</rss>

