<?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 How do I build a job to keep calling the tRESTClient and loop through the previous tRestClient Response? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-do-I-build-a-job-to-keep-calling-the-tRESTClient-and-loop/m-p/2232040#M22134</link>
    <description>&lt;P&gt;I'm new to Studio and not sure how to build the following scenario. A category can have zero to multiple categories and it can have multiple levels deep. To get a category or categories, I call the API with the category's ID.&lt;/P&gt; 
&lt;P&gt;In the outline below, ID#1 named CategoryA contains 2 categories #3 CategoryZ and #4 CategoryN. In one of those categories, #3 CategoryZ contains 1 category #5 CategoryN. This outline can keep going into multiple levels deep.&lt;/P&gt; 
&lt;OL&gt; 
 &lt;LI&gt;ID#1 CategoryA 
  &lt;OL&gt; 
   &lt;LI&gt;&amp;nbsp;ID#3 CategoryZ 
    &lt;OL&gt; 
     &lt;LI&gt;ID#5 CategoryN&lt;/LI&gt; 
    &lt;/OL&gt;&lt;/LI&gt; 
   &lt;LI&gt;&amp;nbsp;ID#4 CategoryX&lt;/LI&gt; 
  &lt;/OL&gt;&lt;/LI&gt; 
&lt;/OL&gt; 
&lt;P&gt;The API is called for ID#1 and the response lists ID#3 and ID#4. Then I have to call the API for ID#3 to see if there's any categories; in the example above I will get ID#5 in the response. Then I have to call the API for ID#5 to see if there's any categories and in this case the response is null. Lastly, I will call the API for ID#4 and the response will be null. &amp;nbsp;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;How do I build a job to keep calling the tRESTClient and loop through the previous tRestClient Response until the response is null? &amp;nbsp;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 02:04:20 GMT</pubDate>
    <dc:creator>Edith1</dc:creator>
    <dc:date>2024-11-16T02:04:20Z</dc:date>
    <item>
      <title>How do I build a job to keep calling the tRESTClient and loop through the previous tRestClient Response?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-do-I-build-a-job-to-keep-calling-the-tRESTClient-and-loop/m-p/2232040#M22134</link>
      <description>&lt;P&gt;I'm new to Studio and not sure how to build the following scenario. A category can have zero to multiple categories and it can have multiple levels deep. To get a category or categories, I call the API with the category's ID.&lt;/P&gt; 
&lt;P&gt;In the outline below, ID#1 named CategoryA contains 2 categories #3 CategoryZ and #4 CategoryN. In one of those categories, #3 CategoryZ contains 1 category #5 CategoryN. This outline can keep going into multiple levels deep.&lt;/P&gt; 
&lt;OL&gt; 
 &lt;LI&gt;ID#1 CategoryA 
  &lt;OL&gt; 
   &lt;LI&gt;&amp;nbsp;ID#3 CategoryZ 
    &lt;OL&gt; 
     &lt;LI&gt;ID#5 CategoryN&lt;/LI&gt; 
    &lt;/OL&gt;&lt;/LI&gt; 
   &lt;LI&gt;&amp;nbsp;ID#4 CategoryX&lt;/LI&gt; 
  &lt;/OL&gt;&lt;/LI&gt; 
&lt;/OL&gt; 
&lt;P&gt;The API is called for ID#1 and the response lists ID#3 and ID#4. Then I have to call the API for ID#3 to see if there's any categories; in the example above I will get ID#5 in the response. Then I have to call the API for ID#5 to see if there's any categories and in this case the response is null. Lastly, I will call the API for ID#4 and the response will be null. &amp;nbsp;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;How do I build a job to keep calling the tRESTClient and loop through the previous tRestClient Response until the response is null? &amp;nbsp;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:04:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-do-I-build-a-job-to-keep-calling-the-tRESTClient-and-loop/m-p/2232040#M22134</guid>
      <dc:creator>Edith1</dc:creator>
      <dc:date>2024-11-16T02:04:20Z</dc:date>
    </item>
  </channel>
</rss>

