<?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 About run if trigger. in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/About-run-if-trigger/m-p/2293746#M66688</link>
    <description>&lt;P&gt;I use tRest to call web,and return data, tRest returns schema include Body and ERROR_CODE, if ERROR_CODE if null,means the call is OK.&lt;BR /&gt;So I use run if trigger to connect tRest and tjava, condition is : tRest.ERROR_CODE!=null . Talend return error:tRest cannot be resolved to a variable.&lt;BR /&gt;So how do i write this condition? I am a bit confused with the way to get value in talend, and can't find it in the document.&lt;/P&gt;</description>
    <pubDate>Tue, 22 Sep 2015 07:31:12 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2015-09-22T07:31:12Z</dc:date>
    <item>
      <title>About run if trigger.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/About-run-if-trigger/m-p/2293746#M66688</link>
      <description>&lt;P&gt;I use tRest to call web,and return data, tRest returns schema include Body and ERROR_CODE, if ERROR_CODE if null,means the call is OK.&lt;BR /&gt;So I use run if trigger to connect tRest and tjava, condition is : tRest.ERROR_CODE!=null . Talend return error:tRest cannot be resolved to a variable.&lt;BR /&gt;So how do i write this condition? I am a bit confused with the way to get value in talend, and can't find it in the document.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2015 07:31:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/About-run-if-trigger/m-p/2293746#M66688</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2015-09-22T07:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: About run if trigger.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/About-run-if-trigger/m-p/2293747#M66689</link>
      <description>Hi&amp;nbsp;
&lt;BR /&gt;Link tRest to a tJavaRow and check the if ERROR_CODE is null there, eg:
&lt;BR /&gt;tRest--main--tJavaRow--runIf--tJava
&lt;BR /&gt;on tJavaRow:
&lt;BR /&gt;if(input_row.ERROR_CODE!=null){
&lt;BR /&gt;globalMap.put("hasError", true);
&lt;BR /&gt;}else{
&lt;BR /&gt;globalMap.put("hasError", false);
&lt;BR /&gt;}
&lt;BR /&gt;Set the condition as:
&lt;BR /&gt;(Boolean)globalMap.get("hasError")
&lt;BR /&gt;
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Tue, 22 Sep 2015 10:10:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/About-run-if-trigger/m-p/2293747#M66689</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-22T10:10:38Z</dc:date>
    </item>
  </channel>
</rss>

