<?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: Use a parameter as jobname in a tRunJob component in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Use-a-parameter-as-jobname-in-a-tRunJob-component/m-p/2268249#M46882</link>
    <description>Hi Didier,&lt;BR /&gt;"Use dynamic job " option allow multiple Jobs to be called and processed.&lt;BR /&gt;Please refer to the scenario "Running a list of child Jobs dynamically" from component reference:&lt;A href="https://help.talend.com/search/all?query=tRunJob&amp;amp;content-lang=en" target="_blank" rel="nofollow noopener noreferrer"&gt;TalendHelpCenter:tRunJob&lt;/A&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
    <pubDate>Thu, 21 Jan 2016 09:34:25 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-01-21T09:34:25Z</dc:date>
    <item>
      <title>Use a parameter as jobname in a tRunJob component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Use-a-parameter-as-jobname-in-a-tRunJob-component/m-p/2268248#M46881</link>
      <description>Is it possible to use a global variable or a context variable as jobname in a tRunJob component?&lt;BR /&gt;If yes, how?&lt;BR /&gt;What I want to do is to have a list of jobs in a file and to execute them sequentially.&lt;BR /&gt;Thanks&lt;BR /&gt;Didier</description>
      <pubDate>Wed, 20 Jan 2016 15:25:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Use-a-parameter-as-jobname-in-a-tRunJob-component/m-p/2268248#M46881</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-20T15:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: Use a parameter as jobname in a tRunJob component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Use-a-parameter-as-jobname-in-a-tRunJob-component/m-p/2268249#M46882</link>
      <description>Hi Didier,&lt;BR /&gt;"Use dynamic job " option allow multiple Jobs to be called and processed.&lt;BR /&gt;Please refer to the scenario "Running a list of child Jobs dynamically" from component reference:&lt;A href="https://help.talend.com/search/all?query=tRunJob&amp;amp;content-lang=en" target="_blank" rel="nofollow noopener noreferrer"&gt;TalendHelpCenter:tRunJob&lt;/A&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Thu, 21 Jan 2016 09:34:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Use-a-parameter-as-jobname-in-a-tRunJob-component/m-p/2268249#M46882</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-21T09:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: Use a parameter as jobname in a tRunJob component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Use-a-parameter-as-jobname-in-a-tRunJob-component/m-p/2268250#M46883</link>
      <description>Thanks Sabrina, 
&lt;BR /&gt;So I have looked the help page and modified my job 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCx2.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140608i044758D2E990F2FE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCx2.png" alt="0683p000009MCx2.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCzX.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149970i73B9C04B9802738E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCzX.png" alt="0683p000009MCzX.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;but currently I have the following erreor: 
&lt;BR /&gt;Démarrage du job PMI_Schedule a 10:52 21/01/2016. 
&lt;BR /&gt; connecting to socket on port 3630 
&lt;BR /&gt; connected 
&lt;BR /&gt;Exception in component tFlowToIterate_1 
&lt;BR /&gt;job1|Q 
&lt;BR /&gt;job2|M 
&lt;BR /&gt;java.lang.NullPointerException 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at pmi.pmi_schedule_0_1.PMI_Schedule.tFileInputExcel_1Process(PMI_Schedule.java:1495) 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at pmi.pmi_schedule_0_1.PMI_Schedule.runJobInTOS(PMI_Schedule.java:2196) 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at pmi.pmi_schedule_0_1.PMI_Schedule.main(PMI_Schedule.java:2024) 
&lt;BR /&gt; disconnected 
&lt;BR /&gt;Job PMI_Schedule terminé à 10:52 21/01/2016. 
&lt;BR /&gt; 
&lt;BR /&gt;why? 
&lt;BR /&gt;As you can see I can displyed the data: 
&lt;BR /&gt;job1|Q 
&lt;BR /&gt;job2|M 
&lt;BR /&gt;Where is the problem? 
&lt;BR /&gt;Thanks 
&lt;BR /&gt;Didier</description>
      <pubDate>Thu, 21 Jan 2016 09:54:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Use-a-parameter-as-jobname-in-a-tRunJob-component/m-p/2268250#M46883</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-21T09:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: Use a parameter as jobname in a tRunJob component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Use-a-parameter-as-jobname-in-a-tRunJob-component/m-p/2268251#M46884</link>
      <description>Hi,&lt;BR /&gt;You are using "If" connection type between tflowtoiterate and tRunjob. What's the condition?&lt;BR /&gt;It seems that ((String)globalMap.get("log.Nom_du_job")) doesn't receive any value.&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Thu, 21 Jan 2016 10:07:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Use-a-parameter-as-jobname-in-a-tRunJob-component/m-p/2268251#M46884</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-21T10:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: Use a parameter as jobname in a tRunJob component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Use-a-parameter-as-jobname-in-a-tRunJob-component/m-p/2268252#M46885</link>
      <description>below the condition:
&lt;BR /&gt;(String)globalMap.get("frequence").equals("Q")||((String)globalMap.get("frequence").equals("M")&amp;amp;&amp;amp;TalendDate.getFirstDayOfMonth(TalendDate.getCurrentDate())==TalendDate.getCurrentDate())</description>
      <pubDate>Thu, 21 Jan 2016 10:10:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Use-a-parameter-as-jobname-in-a-tRunJob-component/m-p/2268252#M46885</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-21T10:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: Use a parameter as jobname in a tRunJob component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Use-a-parameter-as-jobname-in-a-tRunJob-component/m-p/2268253#M46886</link>
      <description>Hi,&lt;BR /&gt;Have you tried to use "iterate" row without this condition to see if your job works?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Thu, 21 Jan 2016 10:20:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Use-a-parameter-as-jobname-in-a-tRunJob-component/m-p/2268253#M46886</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-21T10:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: Use a parameter as jobname in a tRunJob component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Use-a-parameter-as-jobname-in-a-tRunJob-component/m-p/2268254#M46887</link>
      <description>with iterate: 
&lt;BR /&gt;Démarrage du job PMI_Schedule a 11:37 21/01/2016. 
&lt;BR /&gt; connecting to socket on port 3612 
&lt;BR /&gt; connected 
&lt;BR /&gt;Exception in component tRunJob_2 
&lt;BR /&gt;java.lang.RuntimeException: The child job named null is not in the job list. 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at pmi.pmi_schedule_0_1.PMI_Schedule.tFileInputExcel_1Process(PMI_Schedule.java:1617) 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at pmi.pmi_schedule_0_1.PMI_Schedule.runJobInTOS(PMI_Schedule.java:2230) 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at pmi.pmi_schedule_0_1.PMI_Schedule.main(PMI_Schedule.java:2058) 
&lt;BR /&gt; disconnected 
&lt;BR /&gt;Job PMI_Schedule terminé à 11:38 21/01/2016. 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCrF.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136330i5B23F5935EE5DE4B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCrF.png" alt="0683p000009MCrF.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Thu, 21 Jan 2016 10:39:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Use-a-parameter-as-jobname-in-a-tRunJob-component/m-p/2268254#M46887</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-21T10:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: Use a parameter as jobname in a tRunJob component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Use-a-parameter-as-jobname-in-a-tRunJob-component/m-p/2268255#M46888</link>
      <description>below the screenshot of the debug session: 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCeB.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129707i30AE54115A62A6C1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCeB.png" alt="0683p000009MCeB.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Thu, 21 Jan 2016 12:08:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Use-a-parameter-as-jobname-in-a-tRunJob-component/m-p/2268255#M46888</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-21T12:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Use a parameter as jobname in a tRunJob component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Use-a-parameter-as-jobname-in-a-tRunJob-component/m-p/2268256#M46889</link>
      <description>I have done many tests and it does not work 
&lt;BR /&gt;I think that my ((String)globalMap.get("Nom_du_job")) is empty in the tRunJob component: 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MD1r.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137756iF85F8D21E427DDEA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MD1r.png" alt="0683p000009MD1r.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;the global variable Nom_du_job should be defined in the tFlowToIterate component ??? 
&lt;BR /&gt;Could you tell me where I am wrong? 
&lt;BR /&gt;Thanks 
&lt;BR /&gt;Didier</description>
      <pubDate>Fri, 22 Jan 2016 07:29:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Use-a-parameter-as-jobname-in-a-tRunJob-component/m-p/2268256#M46889</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-22T07:29:07Z</dc:date>
    </item>
  </channel>
</rss>

