<?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 Send mail when tStatCatcher/tLogCatcher is on error in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Send-mail-when-tStatCatcher-tLogCatcher-is-on-error/m-p/2311801#M82811</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have a job that uses tStatsCatcher and tLogCatcher components for monitoring. These components track errors well and send them to a database and email.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I would like to send an email (tSendMail) in case the sending of the error to the database (tOracleOutput) does not work, ie if the connection to the database has failed. However, sending the mail does not work.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I tried to use several "main" on the tLogCatcher component but without success:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="log_db_error.JPG" style="width: 372px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LrFH.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154081iA8D6C1FA96E6B3CB/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LrFH.jpg" alt="0683p000009LrFH.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Also, I tried to put "OnComponentError" after "tOracleOutput", but it sends an email to each call of tStatCatcher.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Is it possible to catch this error?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thank's !&lt;/P&gt;</description>
    <pubDate>Thu, 18 Jan 2018 13:29:22 GMT</pubDate>
    <dc:creator>param75</dc:creator>
    <dc:date>2018-01-18T13:29:22Z</dc:date>
    <item>
      <title>Send mail when tStatCatcher/tLogCatcher is on error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Send-mail-when-tStatCatcher-tLogCatcher-is-on-error/m-p/2311801#M82811</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have a job that uses tStatsCatcher and tLogCatcher components for monitoring. These components track errors well and send them to a database and email.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I would like to send an email (tSendMail) in case the sending of the error to the database (tOracleOutput) does not work, ie if the connection to the database has failed. However, sending the mail does not work.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I tried to use several "main" on the tLogCatcher component but without success:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="log_db_error.JPG" style="width: 372px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LrFH.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154081iA8D6C1FA96E6B3CB/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LrFH.jpg" alt="0683p000009LrFH.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Also, I tried to put "OnComponentError" after "tOracleOutput", but it sends an email to each call of tStatCatcher.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Is it possible to catch this error?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thank's !&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2018 13:29:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Send-mail-when-tStatCatcher-tLogCatcher-is-on-error/m-p/2311801#M82811</guid>
      <dc:creator>param75</dc:creator>
      <dc:date>2018-01-18T13:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Send mail when tStatCatcher/tLogCatcher is on error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Send-mail-when-tStatCatcher-tLogCatcher-is-on-error/m-p/2311802#M82812</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Please re-design your workflow like:&lt;/P&gt;
&lt;P&gt;tStatCatcher--&amp;gt; tMap --&amp;gt; tOracleOutput&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | onsubjob error&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tSendMail&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2018 07:16:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Send-mail-when-tStatCatcher-tLogCatcher-is-on-error/m-p/2311802#M82812</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-19T07:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: Send mail when tStatCatcher/tLogCatcher is on error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Send-mail-when-tStatCatcher-tLogCatcher-is-on-error/m-p/2311803#M82813</link>
      <description>&lt;P&gt;Hello Sabrina,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried this solution but the component sends 2 mails, 1 at beginning and 1 at the end job.&lt;/P&gt;&lt;P&gt;Even when i add a condition for get only end stats in tMap (row3.message_type.equals("end")).&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2018 15:54:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Send-mail-when-tStatCatcher-tLogCatcher-is-on-error/m-p/2311803#M82813</guid>
      <dc:creator>param75</dc:creator>
      <dc:date>2018-01-22T15:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: Send mail when tStatCatcher/tLogCatcher is on error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Send-mail-when-tStatCatcher-tLogCatcher-is-on-error/m-p/2311804#M82814</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;How did you set the value in message body part of component tSendMail? Did you use any Context Value in it? Could you please post your current job setting screenshots on forum?&lt;/P&gt;
&lt;P&gt;Note: Please mask your sensitive data.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2018 09:53:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Send-mail-when-tStatCatcher-tLogCatcher-is-on-error/m-p/2311804#M82814</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-23T09:53:56Z</dc:date>
    </item>
  </channel>
</rss>

