<?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: Which component use for IF condition? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Which-component-use-for-IF-condition/m-p/2281152#M55777</link>
    <description>Hi shong, 
&lt;BR /&gt;subjob4 will be started after subjob2/subjob3 completion or all jobs will be started in parallel mode?</description>
    <pubDate>Wed, 11 May 2011 08:38:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-05-11T08:38:21Z</dc:date>
    <item>
      <title>Which component use for IF condition?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Which-component-use-for-IF-condition/m-p/2281148#M55773</link>
      <description>For example i have MSSQLInput where i do select "Select count(*) from table" then i connect to SetGlobalVar and set variable row1.count.&lt;BR /&gt;Now i need do condition.&lt;BR /&gt;      IF row1.count&amp;lt;100&lt;BR /&gt;IF YES                                  IF NO&lt;BR /&gt;DO MSSQLInput                    DO TJavaRow</description>
      <pubDate>Sat, 16 Nov 2024 12:56:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Which-component-use-for-IF-condition/m-p/2281148#M55773</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: Which component use for IF condition?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Which-component-use-for-IF-condition/m-p/2281149#M55774</link>
      <description>Hi
&lt;BR /&gt;You can use the runIf connector to fire different subjobs, for example:
&lt;BR /&gt;tMssqlInput--main--tSetGlobalVar
&lt;BR /&gt; |
&lt;BR /&gt;onsujobok
&lt;BR /&gt; |
&lt;BR /&gt;tJava---runIf---tMssqlInput--main--tLogRow
&lt;BR /&gt; ---runIf---another subjob
&lt;BR /&gt;on the first runIf, set the condition as:
&lt;BR /&gt;row1.count&amp;lt;100
&lt;BR /&gt;on the second runIf, set the condition as:
&lt;BR /&gt;!(row1.count&amp;lt;100)
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Mon, 09 May 2011 09:42:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Which-component-use-for-IF-condition/m-p/2281149#M55774</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-09T09:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: Which component use for IF condition?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Which-component-use-for-IF-condition/m-p/2281150#M55775</link>
      <description>How Talend will tolerate this flow.&lt;BR /&gt;                   SubJob1&lt;BR /&gt;    IF Condition(Yes)            IF Condition(No)&lt;BR /&gt;    SubJob2                         SubJob3&lt;BR /&gt;                                   |&lt;BR /&gt;                                   |&lt;BR /&gt;                           SubJob4&lt;BR /&gt;I mean i want to run SubJob1, then check condition and run SubJob2 or SubJob3.&lt;BR /&gt;And after this must run SubJob4 after that. &lt;BR /&gt;Because now when i connect SubJob2 to SubJob4 Talend is not allowing connection from SubJob3 to SubJob4. It merges SubJob2 with SubJob4.</description>
      <pubDate>Mon, 09 May 2011 10:27:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Which-component-use-for-IF-condition/m-p/2281150#M55775</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-09T10:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: Which component use for IF condition?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Which-component-use-for-IF-condition/m-p/2281151#M55776</link>
      <description>Hi
&lt;BR /&gt;Connect subjob1 to subJob4, 
&lt;BR /&gt;subjob1--runif---subjob2
&lt;BR /&gt; --runIf--sunbjob3
&lt;BR /&gt; |
&lt;BR /&gt;onsujobok
&lt;BR /&gt; |
&lt;BR /&gt;subjob4
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Mon, 09 May 2011 11:03:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Which-component-use-for-IF-condition/m-p/2281151#M55776</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-09T11:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: Which component use for IF condition?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Which-component-use-for-IF-condition/m-p/2281152#M55777</link>
      <description>Hi shong, 
&lt;BR /&gt;subjob4 will be started after subjob2/subjob3 completion or all jobs will be started in parallel mode?</description>
      <pubDate>Wed, 11 May 2011 08:38:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Which-component-use-for-IF-condition/m-p/2281152#M55777</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-11T08:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: Which component use for IF condition?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Which-component-use-for-IF-condition/m-p/2281153#M55778</link>
      <description>Hi
&lt;BR /&gt;Subjob4 will be started after subjob2/subjob3 completion, if you look into the generated code, you will see the subjobs fired by runIf is inside the subjob1.
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Wed, 11 May 2011 09:07:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Which-component-use-for-IF-condition/m-p/2281153#M55778</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-11T09:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: Which component use for IF condition?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Which-component-use-for-IF-condition/m-p/2281154#M55779</link>
      <description>I have create a JOB:
&lt;BR /&gt;subjob1 -- runif -- subjob2 (Order 1)
&lt;BR /&gt;| -- runif -- subjob3 (Order 2)
&lt;BR /&gt;| -- runif -- subjob4 (Order 3)
&lt;BR /&gt;| -- runif -- subjob5 (Order 4)
&lt;BR /&gt;| -- runif -- subjob6 (Order 5)
&lt;BR /&gt;|
&lt;BR /&gt;onsubjobok
&lt;BR /&gt;|
&lt;BR /&gt;subjob7 -- runif -- subjob8 (Order 1)
&lt;BR /&gt;-- runif -- subjob9 (Order 2)
&lt;BR /&gt;-- runif -- subjob10 (Order 3)
&lt;BR /&gt;-- runif -- subjob11 (Order 4)
&lt;BR /&gt;-- runif -- subjob12 (Order 5)
&lt;BR /&gt;Talend executes all subjobs in right way except subjobs which have (Order 5). I mean the last executed subjobs are subjob12 and subjob6 
&lt;BR /&gt;not (subjob11 and subjob12).
&lt;BR /&gt;It can be seen in database results and in TOS. Runif messages "True" firstly occurs on subjob2, subjob3, subjob4, subjob5 and then on subjob8. 
&lt;BR /&gt;Subjob6 is the last where that message occurs.
&lt;BR /&gt;When i created another subjob14 which has also 5 RunIf this problem also occurs. Then are executed all subjob14 RunIf subjobs and the last subjobs are subjob12 and subjob6.
&lt;BR /&gt;Then i delete Order 5 and there are left only 4 RunIf everything works fine.
&lt;BR /&gt;It could be a bug?</description>
      <pubDate>Thu, 12 May 2011 13:18:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Which-component-use-for-IF-condition/m-p/2281154#M55779</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-12T13:18:46Z</dc:date>
    </item>
  </channel>
</rss>

