<?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: Run If Condition Statements in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Run-If-Condition-Statements/m-p/2212612#M10177</link>
    <description>Give tOracleSP_1 a schema column and use it for the "Is Function / Return result in" option.  Pass a row from tOracleSP_1 to tSetGlobalVar to store the returned value in the globalMap.  Hang the RunIfs off tSetGlobalVar, checking the globalMap variable as your condition.</description>
    <pubDate>Fri, 05 Oct 2012 05:33:04 GMT</pubDate>
    <dc:creator>alevy</dc:creator>
    <dc:date>2012-10-05T05:33:04Z</dc:date>
    <item>
      <title>Run If Condition Statements</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Run-If-Condition-Statements/m-p/2212611#M10176</link>
      <description>Good Afternoon,&lt;BR /&gt;I hope you will pardon what might be a daft question. &lt;BR /&gt;I have 2 tOracleSP components. The returned result of the first SP determines if the second SP gets run or a separate block of components do.&lt;BR /&gt;What I'd like to achieve is:&lt;BR /&gt; --- tOracleSP_1 --- Run If (tOracleSP_1.returned value == 0) --- tOracleSP_2&lt;BR /&gt;                        --- Run If (tOracleSP_1(returned value !=  0) --- Some other component.&lt;BR /&gt;My problem seems to be how to access the returned value from the SP. Can anyone advise?.&lt;BR /&gt;Regards.&lt;BR /&gt;Nobby.</description>
      <pubDate>Thu, 04 Oct 2012 14:06:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Run-If-Condition-Statements/m-p/2212611#M10176</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-10-04T14:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: Run If Condition Statements</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Run-If-Condition-Statements/m-p/2212612#M10177</link>
      <description>Give tOracleSP_1 a schema column and use it for the "Is Function / Return result in" option.  Pass a row from tOracleSP_1 to tSetGlobalVar to store the returned value in the globalMap.  Hang the RunIfs off tSetGlobalVar, checking the globalMap variable as your condition.</description>
      <pubDate>Fri, 05 Oct 2012 05:33:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Run-If-Condition-Statements/m-p/2212612#M10177</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2012-10-05T05:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: Run If Condition Statements</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Run-If-Condition-Statements/m-p/2212613#M10178</link>
      <description>Alevy,
&lt;BR /&gt;Thank you for the reply. 
&lt;BR /&gt;To get this part of my job working I had done exactly that!. Would I be correct in assuming the "Run If" trigger can not access a parent's variables directly?.
&lt;BR /&gt;Regards.
&lt;BR /&gt;Nobby.</description>
      <pubDate>Fri, 05 Oct 2012 09:06:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Run-If-Condition-Statements/m-p/2212613#M10178</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-10-05T09:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: Run If Condition Statements</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Run-If-Condition-Statements/m-p/2212614#M10179</link>
      <description>Hi NobbyHall 
&lt;BR /&gt;Not exactly, there are global variables of component (such as number of lines in an input component) and there is a result of component. 
&lt;BR /&gt;first ones are global variables of your job and the if link can access them (see the outline view on your studio). 
&lt;BR /&gt;the second ones are result of an execution and generally they can be put on data flow, they're not really variables unless we put them on variables such as suggested by alevy with the component tSetGlobalVar, once they're set as global variables the if link can directly access them (as variables not as data flow)</description>
      <pubDate>Fri, 05 Oct 2012 10:06:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Run-If-Condition-Statements/m-p/2212614#M10179</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-10-05T10:06:25Z</dc:date>
    </item>
  </channel>
</rss>

