<?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: Capture Error in DB through mail in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Capture-Error-in-DB-through-mail/m-p/2351798#M118380</link>
    <description>&lt;P&gt;Hi Sabarina,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your response. I tried your suggested method but I am getting error like this.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000kWPJBAA4.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143374i0C857FF98979B5FA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000kWPJBAA4.png" alt="0695b00000kWPJBAA4.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is failing in mail component.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000kWPJVAA4.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131667i87C4921710E51680/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000kWPJVAA4.png" alt="0695b00000kWPJVAA4.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Inside the mail component:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000kWPJuAAO.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152174iEDA0356E5A9133FF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000kWPJuAAO.png" alt="0695b00000kWPJuAAO.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I checked the code designer in which add() function causing the failure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000kWPK4AAO.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129557iAE1F411623DBD3BE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000kWPK4AAO.png" alt="0695b00000kWPK4AAO.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please check and let and guide for the further steps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;</description>
    <pubDate>Wed, 05 Jul 2023 07:08:33 GMT</pubDate>
    <dc:creator>Amit4</dc:creator>
    <dc:date>2023-07-05T07:08:33Z</dc:date>
    <item>
      <title>Capture Error in DB through mail</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Capture-Error-in-DB-through-mail/m-p/2351795#M118377</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have this job in which two tables are there. I want to capture the failure if one of the tables have error because of schema of query etc. through the mail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000kWHasAAG.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137653i678F83BED4B517BD/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000kWHasAAG.png" alt="0695b00000kWHasAAG.png" /&gt;&lt;/span&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;&lt;/P&gt;&lt;P&gt;Please guide.&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;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:37:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Capture-Error-in-DB-through-mail/m-p/2351795#M118377</guid>
      <dc:creator>Amit4</dc:creator>
      <dc:date>2024-11-15T21:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: Capture Error in DB through mail</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Capture-Error-in-DB-through-mail/m-p/2351796#M118378</link>
      <description>&lt;P&gt;Hi @Amit Yadav​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try using a tLogCatcher component on your job to capture the errors and redirect them to a tSendMail.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2023 11:41:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Capture-Error-in-DB-through-mail/m-p/2351796#M118378</guid>
      <dc:creator>anselmopeixoto</dc:creator>
      <dc:date>2023-07-04T11:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: Capture Error in DB through mail</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Capture-Error-in-DB-through-mail/m-p/2351797#M118379</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;The job design looks like: &lt;/P&gt;&lt;P&gt;tDB--main--tMap---&amp;gt;Output&lt;/P&gt;&lt;P&gt;tDB--lookup&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tLogCatcher--main--tJavaRow &lt;/P&gt;&lt;P&gt; | &lt;/P&gt;&lt;P&gt;onsubjobok &lt;/P&gt;&lt;P&gt; | &lt;/P&gt;&lt;P&gt;tSendmail &lt;/P&gt;&lt;P&gt;uncheck the option 'die on error' on all the component, so that the job will throw the exception once fails and die. &lt;/P&gt;&lt;P&gt;on tJavaRow: &lt;/P&gt;&lt;P&gt;globalMap.put("errorCode", input_row.message); &lt;/P&gt;&lt;P&gt;on the message body of tsendmail: &lt;/P&gt;&lt;P&gt;"the error message is: "+(String)globalMap.get("errorCode") &lt;/P&gt;&lt;P&gt;uncheck the option 'die on error' on all the components. &lt;/P&gt;&lt;P&gt;Hope it helps for your use case.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards &lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 03:34:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Capture-Error-in-DB-through-mail/m-p/2351797#M118379</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-07-05T03:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: Capture Error in DB through mail</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Capture-Error-in-DB-through-mail/m-p/2351798#M118380</link>
      <description>&lt;P&gt;Hi Sabarina,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your response. I tried your suggested method but I am getting error like this.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000kWPJBAA4.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143374i0C857FF98979B5FA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000kWPJBAA4.png" alt="0695b00000kWPJBAA4.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is failing in mail component.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000kWPJVAA4.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131667i87C4921710E51680/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000kWPJVAA4.png" alt="0695b00000kWPJVAA4.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Inside the mail component:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000kWPJuAAO.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152174iEDA0356E5A9133FF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000kWPJuAAO.png" alt="0695b00000kWPJuAAO.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I checked the code designer in which add() function causing the failure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000kWPK4AAO.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129557iAE1F411623DBD3BE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000kWPK4AAO.png" alt="0695b00000kWPK4AAO.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please check and let and guide for the further steps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 07:08:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Capture-Error-in-DB-through-mail/m-p/2351798#M118380</guid>
      <dc:creator>Amit4</dc:creator>
      <dc:date>2023-07-05T07:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: Capture Error in DB through mail</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Capture-Error-in-DB-through-mail/m-p/2351799#M118381</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;It seems that there is missing () in your email message body&lt;/P&gt;&lt;P&gt;"The exception is:"+((String)globalMap.get("errorCode"))&lt;/P&gt;&lt;P&gt;Feel free to let us know if it works.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2023 03:55:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Capture-Error-in-DB-through-mail/m-p/2351799#M118381</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-07-06T03:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: Capture Error in DB through mail</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Capture-Error-in-DB-through-mail/m-p/2351800#M118382</link>
      <description>&lt;P&gt;Hi Sabarina,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used this function inside the message box. Still, I am facing issue in tsend mail component. Given all the screenshots in the above comment also.&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000kWtxVAAS.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145371i1A435ADB668C2452/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000kWtxVAAS.png" alt="0695b00000kWtxVAAS.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please guide.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2023 05:35:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Capture-Error-in-DB-through-mail/m-p/2351800#M118382</guid>
      <dc:creator>Amit4</dc:creator>
      <dc:date>2023-07-07T05:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: Capture Error in DB through mail</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Capture-Error-in-DB-through-mail/m-p/2351801#M118383</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Please try to use tlogcatcher --&amp;gt; tsendmail and the message body should be:&lt;/P&gt;&lt;P&gt;"The exception is:"+((String)globalMap.get("tLogCatcher_1_ERROR_MESSAGE"))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000kWuU0AAK.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142025i96AE2AA4BF26C11A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000kWuU0AAK.png" alt="0695b00000kWuU0AAK.png" /&gt;&lt;/span&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2023 09:47:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Capture-Error-in-DB-through-mail/m-p/2351801#M118383</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-07-07T09:47:43Z</dc:date>
    </item>
  </channel>
</rss>

