<?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: Handling Database Rejected Rows on Error. in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Handling-Database-Rejected-Rows-on-Error/m-p/2228746#M19913</link>
    <description>Unless the reject file is so large that it would be impractical to Email it, I always send it as an attachment (.csv) which is more useful than having it in the Email body.</description>
    <pubDate>Tue, 01 Mar 2016 07:26:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-03-01T07:26:55Z</dc:date>
    <item>
      <title>Handling Database Rejected Rows on Error.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Handling-Database-Rejected-Rows-on-Error/m-p/2228744#M19911</link>
      <description>Hi,&lt;BR /&gt;What is the best way to handle and send an email with Rejected Rows on Error for tOracleOutput Component?&lt;BR /&gt;And&amp;nbsp;&lt;BR /&gt;How to send RowsOnError as attachment?&lt;BR /&gt;How to send RowsOnError as Email Message body?&lt;BR /&gt;Can we raise an warn message and catch that warn and send an email?If so how transform Rejects to twarn?&lt;BR /&gt;Please let me know how to build it.&lt;BR /&gt;Appreciate your Help.&lt;BR /&gt;KK</description>
      <pubDate>Mon, 29 Feb 2016 18:21:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Handling-Database-Rejected-Rows-on-Error/m-p/2228744#M19911</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2016-02-29T18:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: Handling Database Rejected Rows on Error.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Handling-Database-Rejected-Rows-on-Error/m-p/2228745#M19912</link>
      <description>Hi, 
&lt;BR /&gt; 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 
&lt;BR /&gt;The 'Die on error' option can not be used with reject link together, if you want to use reject link, the 'die on error' option should be unchecked. You can send an email if the some rows are rejected. For example: 
&lt;BR /&gt;....tOracleOutput--reject--tFileOutputDelimited--runIf--tSendMail&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&lt;BR /&gt;&amp;nbsp;It outputs the rejected rows to a file, this file can be attached in the mail&amp;nbsp; if needed, 
&lt;BR /&gt;set the condition of runIf as: 
&lt;BR /&gt;((Integer)globalMap.get("tFileOutputDelimited_1_NB_LINE"))&amp;gt;0 
&lt;BR /&gt;If you want to send rejects rows as email Message body, you should pass rejects rows into context value by using tJavaRow firstly, and then getting the context value in Message body of tSendMail. 
&lt;BR /&gt;Here is a related forum for this scenario, please refer to: 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCkJ0CAK" target="_blank" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Design-and-Development/resolved-Sending-the-content-of-tfileoutputdelimited-to/td-p/73173&lt;/A&gt; 
&lt;BR /&gt;Feel free to let us know if it is OK with you. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina</description>
      <pubDate>Tue, 01 Mar 2016 02:53:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Handling-Database-Rejected-Rows-on-Error/m-p/2228745#M19912</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-01T02:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: Handling Database Rejected Rows on Error.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Handling-Database-Rejected-Rows-on-Error/m-p/2228746#M19913</link>
      <description>Unless the reject file is so large that it would be impractical to Email it, I always send it as an attachment (.csv) which is more useful than having it in the Email body.</description>
      <pubDate>Tue, 01 Mar 2016 07:26:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Handling-Database-Rejected-Rows-on-Error/m-p/2228746#M19913</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-01T07:26:55Z</dc:date>
    </item>
  </channel>
</rss>

