<?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: Talend Studio: Job hierarchy - How do I know if a Job is a Master Job? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Talend-Studio-Job-hierarchy-How-do-I-know-if-a-Job-is-a-Master/m-p/2448486#M140593</link>
    <description>&lt;P&gt;Sorry, I misunderstood.&lt;/P&gt;
&lt;P&gt;You could create a job that loops through all of the job files in a project directory and searches for instances of the tRunJob component to get subjob names.&amp;nbsp; Compare this to a list of all jobs.&lt;/P&gt;
&lt;P&gt;Thanks&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 03 May 2024 13:11:31 GMT</pubDate>
    <dc:creator>billimmer</dc:creator>
    <dc:date>2024-05-03T13:11:31Z</dc:date>
    <item>
      <title>Talend Studio: Job hierarchy - How do I know if a Job is a Master Job?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Studio-Job-hierarchy-How-do-I-know-if-a-Job-is-a-Master/m-p/2441834#M140509</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;How do I know if a Job is a "Master" Job, meaning it is not being called from any other Job?&lt;BR /&gt;I'm using Talend Studio and I know there is an option accessible by right-clicking on a Job to "Open Job Hierarchy". It shows the flow starting from that Job onwards. But it doesn't show if that particular Job is being called by another Job.&lt;BR /&gt;So, my question is: how do I know if a Job I'm looking at is being called by another Job, thus being its child.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you so much.&lt;/P&gt;
&lt;P&gt;Rui&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 16:49:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Studio-Job-hierarchy-How-do-I-know-if-a-Job-is-a-Master/m-p/2441834#M140509</guid>
      <dc:creator>RMotta2408</dc:creator>
      <dc:date>2024-04-16T16:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: Talend Studio: Job hierarchy - How do I know if a Job is a Master Job?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Studio-Job-hierarchy-How-do-I-know-if-a-Job-is-a-Master/m-p/2442416#M140515</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;I don't think that exists, you have to open each job and make your own hierarchy by determining the master job.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 07:12:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Studio-Job-hierarchy-How-do-I-know-if-a-Job-is-a-Master/m-p/2442416#M140515</guid>
      <dc:creator>jeoste</dc:creator>
      <dc:date>2024-04-18T07:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: Talend Studio: Job hierarchy - How do I know if a Job is a Master Job?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Studio-Job-hierarchy-How-do-I-know-if-a-Job-is-a-Master/m-p/2443445#M140534</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;Thank you for replying.&lt;BR /&gt;That is actually what I've been doing but I thought there was a better way of establishing a project hierarchy.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2024 10:39:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Studio-Job-hierarchy-How-do-I-know-if-a-Job-is-a-Master/m-p/2443445#M140534</guid>
      <dc:creator>RMotta2408</dc:creator>
      <dc:date>2024-04-22T10:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: Talend Studio: Job hierarchy - How do I know if a Job is a Master Job?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Studio-Job-hierarchy-How-do-I-know-if-a-Job-is-a-Master/m-p/2447152#M140573</link>
      <description>&lt;P&gt;use the built in variable "isChildJob".&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try it in a tjava component:&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;System.out.println(isChildJob);&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 16:12:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Studio-Job-hierarchy-How-do-I-know-if-a-Job-is-a-Master/m-p/2447152#M140573</guid>
      <dc:creator>billimmer</dc:creator>
      <dc:date>2024-04-30T16:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: Talend Studio: Job hierarchy - How do I know if a Job is a Master Job?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Studio-Job-hierarchy-How-do-I-know-if-a-Job-is-a-Master/m-p/2448320#M140590</link>
      <description>&lt;P&gt;Hi there.&lt;/P&gt;
&lt;P&gt;Thanks for the reply.&lt;/P&gt;
&lt;P&gt;I would have to go through all the Jobs to see if it is or not a Child Job though, right?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Rui&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2024 09:55:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Studio-Job-hierarchy-How-do-I-know-if-a-Job-is-a-Master/m-p/2448320#M140590</guid>
      <dc:creator>RMotta2408</dc:creator>
      <dc:date>2024-05-03T09:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: Talend Studio: Job hierarchy - How do I know if a Job is a Master Job?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Studio-Job-hierarchy-How-do-I-know-if-a-Job-is-a-Master/m-p/2448486#M140593</link>
      <description>&lt;P&gt;Sorry, I misunderstood.&lt;/P&gt;
&lt;P&gt;You could create a job that loops through all of the job files in a project directory and searches for instances of the tRunJob component to get subjob names.&amp;nbsp; Compare this to a list of all jobs.&lt;/P&gt;
&lt;P&gt;Thanks&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2024 13:11:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Studio-Job-hierarchy-How-do-I-know-if-a-Job-is-a-Master/m-p/2448486#M140593</guid>
      <dc:creator>billimmer</dc:creator>
      <dc:date>2024-05-03T13:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: Talend Studio: Job hierarchy - How do I know if a Job is a Master Job?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Studio-Job-hierarchy-How-do-I-know-if-a-Job-is-a-Master/m-p/2448828#M140598</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Ok, I appreciate your help.&lt;BR /&gt;I'm going to look into that solution.&lt;/P&gt;
&lt;P&gt;I haven't search a way, but do you know how to l&lt;SPAN&gt;oop through all of the job files in a project directory?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I appreciate your help.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Rui&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 04 May 2024 16:30:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Studio-Job-hierarchy-How-do-I-know-if-a-Job-is-a-Master/m-p/2448828#M140598</guid>
      <dc:creator>RMotta2408</dc:creator>
      <dc:date>2024-05-04T16:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: Talend Studio: Job hierarchy - How do I know if a Job is a Master Job?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Studio-Job-hierarchy-How-do-I-know-if-a-Job-is-a-Master/m-p/2449309#M140602</link>
      <description>&lt;P&gt;Hi there&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/264528"&gt;@billimmer&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm struggling with the "&lt;SPAN&gt;searche for instances of the tRunJob component&lt;/SPAN&gt;" part.&lt;/P&gt;
&lt;P&gt;Have you got any ideia how do I do that?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2024 13:06:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Studio-Job-hierarchy-How-do-I-know-if-a-Job-is-a-Master/m-p/2449309#M140602</guid>
      <dc:creator>RMotta2408</dc:creator>
      <dc:date>2024-05-06T13:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: Talend Studio: Job hierarchy - How do I know if a Job is a Master Job?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Studio-Job-hierarchy-How-do-I-know-if-a-Job-is-a-Master/m-p/2449461#M140603</link>
      <description>&lt;P&gt;You should be able to use a tFileList to iterate through all of your project files.&amp;nbsp; Use mask&amp;nbsp;"*.item".&amp;nbsp; The .item files are xml so you can parse it that way using Talend components.&amp;nbsp; Or you can use a tJava and java code to read each file into a string (see&amp;nbsp;java.nio.file.Files.readAllBytes) and then "look" through the string with java ((String.contains, String.indexOf, String.substring)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2024 18:44:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Studio-Job-hierarchy-How-do-I-know-if-a-Job-is-a-Master/m-p/2449461#M140603</guid>
      <dc:creator>billimmer</dc:creator>
      <dc:date>2024-05-06T18:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: Talend Studio: Job hierarchy - How do I know if a Job is a Master Job?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Studio-Job-hierarchy-How-do-I-know-if-a-Job-is-a-Master/m-p/2450750#M140625</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;
&lt;P&gt;This is what I did: &lt;BR /&gt;Starting from the "process" folder, I searched every *.item file.&amp;nbsp;&lt;BR /&gt;Then I read each line looking for this line:&amp;nbsp;&lt;EM&gt;elementParameter field="PROCESS_TYPE" name="PROCESS"&lt;/EM&gt;&lt;BR /&gt;When found, I'd get the child Job name in "&lt;EM&gt;value="xxxx"&lt;/EM&gt;"&lt;BR /&gt;Then I put into a tHashOutput both the Job name (filename.item) and the child Job name (when found).&lt;BR /&gt;At the end I confronted both lists to determine which Jobs are being called (child Jobs) and which are not (Master Jobs), creating a list of all the Jobs and a mark indicating if the Job is a child Job.&lt;BR /&gt;&lt;BR /&gt;Thank you for all the input. I appreciate it.&lt;BR /&gt;&lt;BR /&gt;Rui&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2024 11:45:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Studio-Job-hierarchy-How-do-I-know-if-a-Job-is-a-Master/m-p/2450750#M140625</guid>
      <dc:creator>RMotta2408</dc:creator>
      <dc:date>2024-05-09T11:45:01Z</dc:date>
    </item>
  </channel>
</rss>

