<?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 can I get a boolean value from a child and test it to start next child job in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-can-I-get-a-boolean-value-from-a-child-and-test-it-to-start/m-p/2361768#M126049</link>
    <description>&lt;P&gt;After you return the value from child job, you need to assign it to a context variable or global variable for used later, &lt;/P&gt;&lt;P&gt;eg:&lt;/P&gt;&lt;P&gt;tRunJob1--main--tJavaRow--runIf--tRunJob2&lt;/P&gt;&lt;P&gt;on tJavaRow:&lt;/P&gt;&lt;P&gt;context.varName=input_row.columnName;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then, you can use the context variable directly as the condition of runIf connector. &lt;/P&gt;</description>
    <pubDate>Sat, 14 Oct 2023 17:42:35 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-10-14T17:42:35Z</dc:date>
    <item>
      <title>How can I get a boolean value from a child and test it to start next child job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-can-I-get-a-boolean-value-from-a-child-and-test-it-to-start/m-p/2361765#M126046</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I have 2 children job in a my parent job&lt;/P&gt;&lt;P&gt;childA et childB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;child A returns a boolean value&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000qPfCBAA0.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135592i17B1F460C69FA879/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000qPfCBAA0.png" alt="0695b00000qPfCBAA0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in parent job, i have someting like this:&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000qPfPKAA0.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151612i4D2E2AF1887A084B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000qPfPKAA0.png" alt="0695b00000qPfPKAA0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;How can i get the boolean value from child A and test if in the run if row?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:20:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-can-I-get-a-boolean-value-from-a-child-and-test-it-to-start/m-p/2361765#M126046</guid>
      <dc:creator>android1686764069</dc:creator>
      <dc:date>2024-11-15T21:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get a boolean value from a child and test it to start next child job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-can-I-get-a-boolean-value-from-a-child-and-test-it-to-start/m-p/2361766#M126047</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;In the parentJob, in the tRunJob component, click on the button " copy Child Job Schema" . &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As I understand your case, the schema of the tBufferOutput_1 in childA must be only one colum of boolean type.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"copy Child Job Schema"  will create a schema in The tRunJob,  same as the schema of the tBufferOutput_1 in childA (i.e. one column of boolean type) &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At runtime,  the flow from the tBufferOutput in ChildA can then be caught in the parent job, with a main connexion out of the tRunJob ChildA&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then you could for instance put the values the in the globalMap  (with tFlowToIterate or tSetGlobalVar or tJavaRow...) and test it in the RunIf connexion -&amp;gt; ChildB. &lt;/P&gt;&lt;P&gt;You could of course, send several values (more columns) and several lines,  depending of what data you send to tBufferOutput&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anne Céline&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2023 16:03:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-can-I-get-a-boolean-value-from-a-child-and-test-it-to-start/m-p/2361766#M126047</guid>
      <dc:creator>act</dc:creator>
      <dc:date>2023-10-13T16:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get a boolean value from a child and test it to start next child job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-can-I-get-a-boolean-value-from-a-child-and-test-it-to-start/m-p/2361767#M126048</link>
      <description>&lt;P&gt;Yes in my case, childA output is only a single value, so it's one column of boolean type in tbufferoutput&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So in my parent job, between childA en childB I need to add a component such as tSetGlobalVar. I'll try monday. thank you&lt;/P&gt;</description>
      <pubDate>Sat, 14 Oct 2023 15:51:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-can-I-get-a-boolean-value-from-a-child-and-test-it-to-start/m-p/2361767#M126048</guid>
      <dc:creator>android1686764069</dc:creator>
      <dc:date>2023-10-14T15:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get a boolean value from a child and test it to start next child job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-can-I-get-a-boolean-value-from-a-child-and-test-it-to-start/m-p/2361768#M126049</link>
      <description>&lt;P&gt;After you return the value from child job, you need to assign it to a context variable or global variable for used later, &lt;/P&gt;&lt;P&gt;eg:&lt;/P&gt;&lt;P&gt;tRunJob1--main--tJavaRow--runIf--tRunJob2&lt;/P&gt;&lt;P&gt;on tJavaRow:&lt;/P&gt;&lt;P&gt;context.varName=input_row.columnName;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then, you can use the context variable directly as the condition of runIf connector. &lt;/P&gt;</description>
      <pubDate>Sat, 14 Oct 2023 17:42:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-can-I-get-a-boolean-value-from-a-child-and-test-it-to-start/m-p/2361768#M126049</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-10-14T17:42:35Z</dc:date>
    </item>
  </channel>
</rss>

