<?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: Runif condition in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Runif-condition/m-p/2229975#M20751</link>
    <description>You cannot apply a condition directly to a flow. You can either: 
&lt;BR /&gt;1. depending on the difference between your tOracleOutputs, apply the condition directly in the tOracleOutput component's parameters e.g. for Table, have the expression: context.value==1?"TableName1":"TableName2" 
&lt;BR /&gt;2. have two output flows from tMap with your condition as an expression filter on the output tables in tMap 
&lt;BR /&gt;3. link the output flow from tMap to a tHashOutput or tFileDelimitedOutput and then have two RunIfs with your condition from your output component to a corresponding input component and then a flow on to your tOracleOutput e.g. 
&lt;BR /&gt; tMap --flow--&amp;gt; tHashOutput --RunIf(context.value==1)--&amp;gt; tHashInput --flow--&amp;gt; tOracleOutput1 
&lt;BR /&gt; --RunIf(context.value!=1)--&amp;gt; tHashInput --flow--&amp;gt; tOracleOutput2</description>
    <pubDate>Thu, 17 Jun 2010 02:04:29 GMT</pubDate>
    <dc:creator>alevy</dc:creator>
    <dc:date>2010-06-17T02:04:29Z</dc:date>
    <item>
      <title>Runif condition</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Runif-condition/m-p/2229974#M20750</link>
      <description>Hi, &lt;BR /&gt;I need  to check the condition after tmap, but the run if connector doesnot exist in tmap.I have tried this using tjavarow component also but i am not able to connect my output aafter checking a condition.&lt;BR /&gt;Please refer the details below,&lt;BR /&gt;--toracleinput -- tmap ----------- toracleoutput  1&lt;BR /&gt;                                ------------toracle output 2&lt;BR /&gt;In the above job I have to check a if condition like (if context.value = 1) {proceed with toracleoutput1}&lt;BR /&gt;(else){proceed with toracleoutput2}&lt;BR /&gt;Please advice on the job sequence flow and the ways to check the condition and return output based on the condition.&lt;BR /&gt;Thanks and Regards,&lt;BR /&gt;mani.</description>
      <pubDate>Sat, 16 Nov 2024 13:23:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Runif-condition/m-p/2229974#M20750</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: Runif condition</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Runif-condition/m-p/2229975#M20751</link>
      <description>You cannot apply a condition directly to a flow. You can either: 
&lt;BR /&gt;1. depending on the difference between your tOracleOutputs, apply the condition directly in the tOracleOutput component's parameters e.g. for Table, have the expression: context.value==1?"TableName1":"TableName2" 
&lt;BR /&gt;2. have two output flows from tMap with your condition as an expression filter on the output tables in tMap 
&lt;BR /&gt;3. link the output flow from tMap to a tHashOutput or tFileDelimitedOutput and then have two RunIfs with your condition from your output component to a corresponding input component and then a flow on to your tOracleOutput e.g. 
&lt;BR /&gt; tMap --flow--&amp;gt; tHashOutput --RunIf(context.value==1)--&amp;gt; tHashInput --flow--&amp;gt; tOracleOutput1 
&lt;BR /&gt; --RunIf(context.value!=1)--&amp;gt; tHashInput --flow--&amp;gt; tOracleOutput2</description>
      <pubDate>Thu, 17 Jun 2010 02:04:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Runif-condition/m-p/2229975#M20751</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2010-06-17T02:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: Runif condition</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Runif-condition/m-p/2229976#M20752</link>
      <description>Thanks alot for the help.</description>
      <pubDate>Tue, 29 Jun 2010 10:54:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Runif-condition/m-p/2229976#M20752</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-06-29T10:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: Runif condition</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Runif-condition/m-p/2229977#M20753</link>
      <description>Hi, &lt;BR /&gt;I want to send email if my tOracleOutput loads data into database, so I connected it with tSendMail(RunIf), but i'm stuck with the code java.&lt;BR /&gt;Can you help please ?</description>
      <pubDate>Wed, 29 Jun 2016 09:22:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Runif-condition/m-p/2229977#M20753</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-29T09:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: Runif condition</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Runif-condition/m-p/2229978#M20754</link>
      <description>Sure, at the left of talend window when you re in your job, you have outline tab, you select the tOracleOutput that interest you.
&lt;BR /&gt;After that you drag and drop the value that interest you NB_LINE_INSERTED for exemple and compare to see if it's positive. It should looks like something like :
&lt;BR /&gt;((Integer)globalMap.get("tOracleOutput_1_NB_LINE_INSERTED"))&amp;gt;0 || ((Integer)globalMap.get("tOracleOutput_1_NB_LINE_Updated"))&amp;gt;0
&lt;BR /&gt;the || means or.
&lt;BR /&gt;good luck</description>
      <pubDate>Wed, 29 Jun 2016 09:55:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Runif-condition/m-p/2229978#M20754</guid>
      <dc:creator>Franz3</dc:creator>
      <dc:date>2016-06-29T09:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: Runif condition</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Runif-condition/m-p/2229979#M20755</link>
      <description>&lt;P&gt;Hi this is not working for me, the tHashInput cant recognize my Oracle DB and cant have a schema.&lt;/P&gt;&lt;DIV&gt;&lt;DIV class="gtx-trans-icon"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 11 Nov 2019 15:33:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Runif-condition/m-p/2229979#M20755</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-11T15:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: Runif condition</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Runif-condition/m-p/2229980#M20756</link>
      <description>&lt;A href="https://community.qlik.com/s/profile/0053p000007LQXNAA4"&gt;@JaymeNeto&lt;/A&gt;, tHashInput is used to read data from memory. On the basic setting panel, select a tHashOutput component if there are several tHashOutput in the same job, and you need to define the same schema as the selected tHashOutput's schema.</description>
      <pubDate>Tue, 12 Nov 2019 06:36:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Runif-condition/m-p/2229980#M20756</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-12T06:36:11Z</dc:date>
    </item>
  </channel>
</rss>

