<?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 Re: how to handle rejects after a TMAP? What am I doing wrong? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/how-to-handle-rejects-after-a-TMAP-What-am-I-doing-wrong/m-p/2292840#M65875</link>
    <description>&lt;P&gt;Not a problem &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;  It's an easy thing to miss.&lt;/P&gt;</description>
    <pubDate>Tue, 22 Mar 2022 16:10:05 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-03-22T16:10:05Z</dc:date>
    <item>
      <title>how to handle rejects after a TMAP? What am I doing wrong?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-handle-rejects-after-a-TMAP-What-am-I-doing-wrong/m-p/2292837#M65872</link>
      <description>&lt;P&gt;I am a newbie and I only had a formal training with very light and easy examples on how to do things. &lt;/P&gt;&lt;P&gt;Basically I’m calling a REST APi to correct a bunch of addresses. This works well, but at the end I have some addresses that are not correct and some who are.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the addresses are corrected I have a TMap that separates the incorrect addresses of the correct one based on the errorCode (int) that I get from the rest API.   Everything until TMAP (TMAP included) works as intended. Now I want to treat the rejects in a specific way and I spent days working on this without success. We use SQL server in this step. The update part ( aka 2) below) needs to happen in Oracle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the rejects I want to&lt;/P&gt;&lt;P&gt;1)insert all the records in an error table&lt;/P&gt;&lt;P&gt;2)update the address status (set an undeliverable_address flag) into the another addresses table.&lt;/P&gt;&lt;P&gt;a)I tried to use a tDBOutput to insert all the addresses in an error table but this doesnt work. (no record is inserted) I will attach screenshots. Maybe someone can tell me what am I doing wrong.&lt;/P&gt;&lt;P&gt;b) if I manage to get the above step to work what kind of control should I use for # 2) to update the records (aka set that flag) in another table?&lt;/P&gt;&lt;P&gt;c) can I just use a store procedure after the TMAP to do the insert and update (aka 1) and 2)) instead of having two separate controls?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much for your time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:06:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-handle-rejects-after-a-TMAP-What-am-I-doing-wrong/m-p/2292837#M65872</guid>
      <dc:creator>AGurau1639681093</dc:creator>
      <dc:date>2024-11-15T23:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: how to handle rejects after a TMAP? What am I doing wrong?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-handle-rejects-after-a-TMAP-What-am-I-doing-wrong/m-p/2292838#M65873</link>
      <description>&lt;P&gt;The data appears to be leaving your tMap and going towards your tDBOutput. I see you are using a shared connection. Is that connection component set to auto commit? Look in the Advanced settings of the tDBConnection component.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 11:19:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-handle-rejects-after-a-TMAP-What-am-I-doing-wrong/m-p/2292838#M65873</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-22T11:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: how to handle rejects after a TMAP? What am I doing wrong?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-handle-rejects-after-a-TMAP-What-am-I-doing-wrong/m-p/2292839#M65874</link>
      <description>&lt;P&gt;Thank you SO much rhall, that was it. I checked the "auto commit" in the advance setting and it worked! You are a life saver.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 14:52:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-handle-rejects-after-a-TMAP-What-am-I-doing-wrong/m-p/2292839#M65874</guid>
      <dc:creator>AGurau1639681093</dc:creator>
      <dc:date>2022-03-22T14:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: how to handle rejects after a TMAP? What am I doing wrong?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-handle-rejects-after-a-TMAP-What-am-I-doing-wrong/m-p/2292840#M65875</link>
      <description>&lt;P&gt;Not a problem &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;  It's an easy thing to miss.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 16:10:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-handle-rejects-after-a-TMAP-What-am-I-doing-wrong/m-p/2292840#M65875</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-22T16:10:05Z</dc:date>
    </item>
  </channel>
</rss>

