<?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 tRestClient output connections question in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tRestClient-output-connections-question/m-p/2202864#M4393</link>
    <description>&lt;P&gt;Hello&lt;/P&gt; 
&lt;P&gt;I use tRestClient to make a rest call which may return error status (i.e. 500). In case of success (200) I need, for example, put result into file "success.txt", in case of error I need to put it to the file "error.txt". I have following job:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M1Fj.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130263i19CD0CBC0D4C59C8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M1Fj.jpg" alt="0683p000009M1Fj.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;What I notices is that in any case (success or error rerurned from rest service) BOTH files are created. One of them is empty, another is not, depending of what status was returned. Like both connections are always fired.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Is it as designed? Why both connection are processed? How to avoid this?&lt;/P&gt;</description>
    <pubDate>Sun, 02 Dec 2018 15:16:45 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-12-02T15:16:45Z</dc:date>
    <item>
      <title>tRestClient output connections question</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRestClient-output-connections-question/m-p/2202864#M4393</link>
      <description>&lt;P&gt;Hello&lt;/P&gt; 
&lt;P&gt;I use tRestClient to make a rest call which may return error status (i.e. 500). In case of success (200) I need, for example, put result into file "success.txt", in case of error I need to put it to the file "error.txt". I have following job:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M1Fj.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130263i19CD0CBC0D4C59C8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M1Fj.jpg" alt="0683p000009M1Fj.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;What I notices is that in any case (success or error rerurned from rest service) BOTH files are created. One of them is empty, another is not, depending of what status was returned. Like both connections are always fired.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Is it as designed? Why both connection are processed? How to avoid this?&lt;/P&gt;</description>
      <pubDate>Sun, 02 Dec 2018 15:16:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRestClient-output-connections-question/m-p/2202864#M4393</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-02T15:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: tRestClient output connections question</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRestClient-output-connections-question/m-p/2202865#M4394</link>
      <description>&lt;P&gt;output connections (files) initialized before input component start work&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;some components (but not tFileOutputJSON) have checkbox - "do not create empty files",&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;as variant - do not store data direct to file, store response in memory, and process it after&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2018 18:54:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRestClient-output-connections-question/m-p/2202865#M4394</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2018-12-03T18:54:14Z</dc:date>
    </item>
  </channel>
</rss>

