<?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: Custom Error Handling in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Custom-Error-Handling/m-p/2307836#M79231</link>
    <description>&lt;P&gt;OK. If an order is important, you could simply link your tLogCatcher to a tHashOutput component. Then at the end of your job use a tHashInput (connected to a tPostJob component) to retrieve your logs from memory and add them to both tables in the order in which you wish.&lt;/P&gt;</description>
    <pubDate>Sat, 18 May 2019 12:21:59 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-05-18T12:21:59Z</dc:date>
    <item>
      <title>Custom Error Handling</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Custom-Error-Handling/m-p/2307833#M79228</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm working on Error Logging.&lt;/P&gt;&lt;P&gt;I want to insert a record in Audit log table and another records in Error Log table in case of&amp;nbsp; job failure or any validation issue,&amp;nbsp;&lt;/P&gt;&lt;P&gt;The reason to insert a records in&amp;nbsp;Audit_Log is Log_Id(PK) in Audit_Log is FK in Error Log Table.&lt;/P&gt;&lt;P&gt;Audit_Log&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; Error_Log&lt;/P&gt;&lt;P&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;========&lt;/P&gt;&lt;P&gt;Log_Id&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;Error_Code&lt;/P&gt;&lt;P&gt;Job_Status&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Error_desc&lt;/P&gt;&lt;P&gt;Start_Time&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;Log_Id&amp;nbsp;&lt;/P&gt;&lt;P&gt;End_Time&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For this requirement, my joblet design will be as below&lt;/P&gt;&lt;P&gt;tLogCatcher =====&amp;gt; tmap&amp;nbsp;=====&amp;gt; Audit_Log(Not AMC table, it custom table)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; | onsubjobok&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; |&lt;/P&gt;&lt;P&gt;tjava(dummy)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; | oncomponentOk&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; |&lt;/P&gt;&lt;P&gt;tLogCatcher =====&amp;gt; tmap&amp;nbsp;=====&amp;gt; Error_Log(Not AMC table, it custom table)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not able to connect above 2 tLogCatcher component with onsubjobok hence used tjava(dummy)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please let me know anyone has better approach than this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2019 03:32:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Custom-Error-Handling/m-p/2307833#M79228</guid>
      <dc:creator>shrikavi2008</dc:creator>
      <dc:date>2019-05-15T03:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Error Handling</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Custom-Error-Handling/m-p/2307834#M79229</link>
      <description>&lt;P&gt;Subjobs starting with the tLogCatcher do not need to be attached to any other subjobs. They are not really part of the normal job flow. Just don't connect them.&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2019 17:59:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Custom-Error-Handling/m-p/2307834#M79229</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-17T17:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Error Handling</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Custom-Error-Handling/m-p/2307835#M79230</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/null"&gt;@rhall&lt;/A&gt; Thank your reply.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The reason to connect the 2 subjob is first insert a record in to Audit_log table(Log_Id is a PK), then insert into another record in Error_log table with Log_Id(get the Log_Id from Audit_Log)&lt;/P&gt;</description>
      <pubDate>Sat, 18 May 2019 02:47:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Custom-Error-Handling/m-p/2307835#M79230</guid>
      <dc:creator>shrikavi2008</dc:creator>
      <dc:date>2019-05-18T02:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Error Handling</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Custom-Error-Handling/m-p/2307836#M79231</link>
      <description>&lt;P&gt;OK. If an order is important, you could simply link your tLogCatcher to a tHashOutput component. Then at the end of your job use a tHashInput (connected to a tPostJob component) to retrieve your logs from memory and add them to both tables in the order in which you wish.&lt;/P&gt;</description>
      <pubDate>Sat, 18 May 2019 12:21:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Custom-Error-Handling/m-p/2307836#M79231</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-18T12:21:59Z</dc:date>
    </item>
  </channel>
</rss>

