<?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 tMap with one source iterate tRestClient in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tMap-with-one-source-iterate-tRestClient/m-p/2432401#M140374</link>
    <description>&lt;P&gt;Hi, I'm trying to configure my job and these are my expectations:&lt;/P&gt;
&lt;P&gt;- From one side I've a tFlowTolterate that iterates the id value from a db table( table 1), an use it for a tRestClient params&lt;/P&gt;
&lt;P&gt;- From the other side I've another db table (table2) with the existing customers addresses informations&lt;/P&gt;
&lt;P&gt;I would only add the new addresses from the tRestClient to the table2 and for reach this goal I'm using tMap component.&lt;/P&gt;
&lt;P&gt;Maybe it works, but I'm sure that I can do better than now. It's possible to query all the tRestClient addresses and only after it is over, pass them to tMap component?&lt;/P&gt;
&lt;P&gt;If I using "on Component OK", I'm not able to using it because I see a prohibition icon.&lt;/P&gt;
&lt;P&gt;Anyone can help me? Thanks!&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screenshot_76.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/162300i0361ADE8EC941654/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot_76.png" alt="Screenshot_76.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 19 Mar 2024 13:37:53 GMT</pubDate>
    <dc:creator>dura45</dc:creator>
    <dc:date>2024-03-19T13:37:53Z</dc:date>
    <item>
      <title>tMap with one source iterate tRestClient</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-with-one-source-iterate-tRestClient/m-p/2432401#M140374</link>
      <description>&lt;P&gt;Hi, I'm trying to configure my job and these are my expectations:&lt;/P&gt;
&lt;P&gt;- From one side I've a tFlowTolterate that iterates the id value from a db table( table 1), an use it for a tRestClient params&lt;/P&gt;
&lt;P&gt;- From the other side I've another db table (table2) with the existing customers addresses informations&lt;/P&gt;
&lt;P&gt;I would only add the new addresses from the tRestClient to the table2 and for reach this goal I'm using tMap component.&lt;/P&gt;
&lt;P&gt;Maybe it works, but I'm sure that I can do better than now. It's possible to query all the tRestClient addresses and only after it is over, pass them to tMap component?&lt;/P&gt;
&lt;P&gt;If I using "on Component OK", I'm not able to using it because I see a prohibition icon.&lt;/P&gt;
&lt;P&gt;Anyone can help me? Thanks!&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screenshot_76.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/162300i0361ADE8EC941654/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot_76.png" alt="Screenshot_76.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2024 13:37:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-with-one-source-iterate-tRestClient/m-p/2432401#M140374</guid>
      <dc:creator>dura45</dc:creator>
      <dc:date>2024-03-19T13:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: tMap with one source iterate tRestClient</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-with-one-source-iterate-tRestClient/m-p/2432600#M140375</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;Before all of them are passed to tMap, you can add a tUnite between tRestClient and tMap to merge all address information.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Shicong&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 00:49:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-with-one-source-iterate-tRestClient/m-p/2432600#M140375</guid>
      <dc:creator>Shicong_Hong</dc:creator>
      <dc:date>2024-03-20T00:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: tMap with one source iterate tRestClient</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-with-one-source-iterate-tRestClient/m-p/2432656#M140376</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/257838"&gt;@Shicong_Hong&lt;/a&gt;&amp;nbsp;and thank you for you help.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a question about your answer: I want to load only the new addresses (and don't load existing ones), but before tMap I merge all address information with the tUnite,&amp;nbsp;I doubt whether I will upload all the addresses and not just the new ones.&lt;/P&gt;
&lt;P&gt;If I understood well I merge all the address before tMap and after that the job reload always all the addresses,&amp;nbsp;even if they already exist. Right?&lt;/P&gt;
&lt;P&gt;There a way for load only the newest? Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 07:55:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-with-one-source-iterate-tRestClient/m-p/2432656#M140376</guid>
      <dc:creator>dura45</dc:creator>
      <dc:date>2024-03-20T07:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: tMap with one source iterate tRestClient</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-with-one-source-iterate-tRestClient/m-p/2432705#M140377</link>
      <description>&lt;P&gt;Maybe I don't understand your question well, you mentioned "&lt;SPAN&gt;&amp;nbsp;It's possible to query all the tRestClient addresses and only after it is over, pass them to tMap component?&lt;/SPAN&gt;", I thought the address information are returned from API called by tRestClient.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you please clarify your question to explain you are trying to achieve? What data is returned from API? I'm guessing you're using a tMap for the join to get only the new addresses and insert them to table 2?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 09:37:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-with-one-source-iterate-tRestClient/m-p/2432705#M140377</guid>
      <dc:creator>Shicong_Hong</dc:creator>
      <dc:date>2024-03-20T09:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: tMap with one source iterate tRestClient</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-with-one-source-iterate-tRestClient/m-p/2432738#M140378</link>
      <description>&lt;P&gt;I'm sorry for the lack of clarity in my question.&lt;/P&gt;
&lt;P&gt;I need to schedule an import into a database of all the addresses from an e-commerce site. To do this, I imported all the addresses in bulk a while ago, and now I want to add only the new addresses created to the database.&lt;/P&gt;
&lt;P&gt;So, the data sources I have are:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;S1 - an API call to extract all the existing addresses in an e-commerce&lt;/LI&gt;
&lt;LI&gt;S2 - a snapshot of the addresses in a database from the first import&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Now, I want to make sure that all the new addresses created on the e-commerce, which I get through the API call (S1), are added to S2, while the existing ones in S2 are not touched.&lt;/P&gt;
&lt;P&gt;To make the API call, I need to iterate through all the account IDs present in the e-commerce (provided by a third table).&lt;/P&gt;
&lt;P&gt;So, what I want to do is: download all the addresses via API and, only after doing so, use tMap to compare those that already exist in S2 and insert only the new ones.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 10:30:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-with-one-source-iterate-tRestClient/m-p/2432738#M140378</guid>
      <dc:creator>dura45</dc:creator>
      <dc:date>2024-03-20T10:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: tMap with one source iterate tRestClient</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-with-one-source-iterate-tRestClient/m-p/2433093#M140382</link>
      <description>&lt;P&gt;Thanks you for your clarification in details. The existing addresses are loaded &lt;STRONG&gt;only one time&lt;/STRONG&gt; from S2 (tDBInput_2), this is a lookup table. Use a tUnite before tMap to merge all the addresses returned by each iteration, so tUnite is the key component you are looking for.&lt;/P&gt;
&lt;P&gt;Please try it and let me know if it works.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Shicong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 01:05:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-with-one-source-iterate-tRestClient/m-p/2433093#M140382</guid>
      <dc:creator>Shicong_Hong</dc:creator>
      <dc:date>2024-03-21T01:05:00Z</dc:date>
    </item>
  </channel>
</rss>

