<?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 Talend Display null as empty array in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Talend-Display-null-as-empty-array/m-p/2364635#M128351</link>
    <description>I new at talend stuck with a basic issue ,any help would be really appreicated I have a talend esb job that let me query my database via get request
&lt;BR /&gt;Job Flow:&amp;nbsp;
&lt;BR /&gt;Trestrequest==&amp;gt;tflowIterate==&amp;gt;Redshift==&amp;gt;txmlmap==&amp;gt;trestresponse
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;Call:
&lt;BR /&gt;localhost/restaurant?rest_id=305&amp;amp;from_date=%272016-10-12%27&amp;amp;to_date=%272016-10-18%27&amp;amp;_=1476875037045
&lt;BR /&gt;
&lt;BR /&gt;get the result(Json response)
&lt;BR /&gt;{"root":{"combo3":[{"class1":11963,"class2":12405,"class3":13050,"count":12}
&lt;BR /&gt;
&lt;BR /&gt;which is perfect and what is required
&lt;BR /&gt;How can I handle 404 exception
&lt;BR /&gt;for Talend ESB and display {}
&lt;BR /&gt;
&lt;BR /&gt;(in web page or web browser)
&lt;BR /&gt;Right now I only see empty webpage as result but how can I replace it with &amp;nbsp; {} (in web page or web browser)</description>
    <pubDate>Sat, 16 Nov 2024 10:18:32 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T10:18:32Z</dc:date>
    <item>
      <title>Talend Display null as empty array</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Display-null-as-empty-array/m-p/2364635#M128351</link>
      <description>I new at talend stuck with a basic issue ,any help would be really appreicated I have a talend esb job that let me query my database via get request
&lt;BR /&gt;Job Flow:&amp;nbsp;
&lt;BR /&gt;Trestrequest==&amp;gt;tflowIterate==&amp;gt;Redshift==&amp;gt;txmlmap==&amp;gt;trestresponse
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;Call:
&lt;BR /&gt;localhost/restaurant?rest_id=305&amp;amp;from_date=%272016-10-12%27&amp;amp;to_date=%272016-10-18%27&amp;amp;_=1476875037045
&lt;BR /&gt;
&lt;BR /&gt;get the result(Json response)
&lt;BR /&gt;{"root":{"combo3":[{"class1":11963,"class2":12405,"class3":13050,"count":12}
&lt;BR /&gt;
&lt;BR /&gt;which is perfect and what is required
&lt;BR /&gt;How can I handle 404 exception
&lt;BR /&gt;for Talend ESB and display {}
&lt;BR /&gt;
&lt;BR /&gt;(in web page or web browser)
&lt;BR /&gt;Right now I only see empty webpage as result but how can I replace it with &amp;nbsp; {} (in web page or web browser)</description>
      <pubDate>Sat, 16 Nov 2024 10:18:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Display-null-as-empty-array/m-p/2364635#M128351</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T10:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: Talend Display null as empty array</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Display-null-as-empty-array/m-p/2364636#M128352</link>
      <description>Hi&amp;nbsp; 
&lt;BR /&gt;404 exception means no data found, you may check if any data are found from database and then send different result as response based on the checking result, eg: 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="Verdana," helvetica=""&gt;Trestrequest==&amp;gt;tflowIterate==&amp;gt;Redshift==tHashOutput--runIf1--tHashInput--&amp;gt;txmlmap==&amp;gt;trestresponse1&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="Verdana," helvetica=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;--runIf2--tFixedFlowInput--&amp;gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="Verdana," helvetica=""&gt;trestresponse1&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;set the condition of runif1 as: 
&lt;BR /&gt;((Integer)globalMap.get("tRedshiftInput_1_NB_LINE"))&amp;gt;0 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="Verdana," helvetica=""&gt;tHashInput: read the data from memory, check 'clear cache after reading' box.&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;set the condition of runif2 as: 
&lt;BR /&gt;((Integer)globalMap.get("tRedshiftInput_1_NB_LINE"))==0 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="Verdana," helvetica=""&gt;tFixedFlowInput:define the return value "{}" if no data are found from database.&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="Verdana," helvetica=""&gt;Regards&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="Verdana," helvetica=""&gt;Shong&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Fri, 21 Oct 2016 10:07:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Display-null-as-empty-array/m-p/2364636#M128352</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-21T10:07:04Z</dc:date>
    </item>
  </channel>
</rss>

