<?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: Log error from tDBRow component without stopping the job in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Log-error-from-tDBRow-component-without-stopping-the-job/m-p/2542346#M149399</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;- Move&amp;nbsp;&lt;SPAN&gt;tDBRow&amp;nbsp;component to a child job and log the error in the child job, pass the current query from main job to child job, please refer to this &lt;A href="https://community.qlik.com/t5/Official-Support-Articles/Qlik-Talend-Data-Integration-Passing-a-value-from-a-parent-Job/ta-p/2151394" target="_self"&gt;KB article&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;- Use&lt;/SPAN&gt;&lt;SPAN&gt; a tRunJob component to call the child job, uncheck the 'Die on error' option on tRunJob.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;- Check the 'Die on error' option on tDBRow component. This ensures that the component throws out the error, allowing you to catch and log it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Shicong&lt;/P&gt;</description>
    <pubDate>Wed, 04 Feb 2026 07:51:39 GMT</pubDate>
    <dc:creator>Shicong_Hong</dc:creator>
    <dc:date>2026-02-04T07:51:39Z</dc:date>
    <item>
      <title>Log error from tDBRow component without stopping the job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Log-error-from-tDBRow-component-without-stopping-the-job/m-p/2505732#M141769</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I'm having trouble finding the right way to log SQL error from a tDBRow component without actually stopping the job.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="quentinvigne_0-1739441871272.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/177511i08CB8BC1B905E3D5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="quentinvigne_0-1739441871272.png" alt="quentinvigne_0-1739441871272.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;In the above job I have a tLoop component launching in parralel my subjob. the tDBInput retrieve a query from a table and the tDBRow execute that query.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the tDBRow give back an error, I know it because in the console / TMC there is an "Error" message. Now I want to log this error in a table, I tried using OnComponentError but it doesn't work unless in click on "Die on error" in the tDBRow component, which stop entirely the job and this isn't what I want.&lt;/P&gt;
&lt;P&gt;I find it weird that when the component say there is an error, it doesnt trigger automatically the "OnComponentError" and it actually triggers the "OnComponentOk"&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="quentinvigne_1-1739442114386.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/177512i3CA6094C0D98052D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="quentinvigne_1-1739442114386.png" alt="quentinvigne_1-1739442114386.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried using "if" link and other component based on tDBRow_2_ERROR_MESSAGE value, but since I'm parallelizing the job it doesn't log the actual query that is in error&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any idea how to achieve what I want ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="ae_app" data-nosnippet=""&gt;&lt;!--
        Layout, Style or Voice Helpers
    --&gt;
&lt;DIV id="ae_helpers" class="ae-module" style="display: none;"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;!--
        Compliance
    --&gt;
&lt;DIV id="ae_compliance" class="ae-module" style="display: none;"&gt;&lt;!-- For autoSmartRem addNewWindowWarnings div is referenced in an aria-describedby --&gt;
&lt;DIV id="audioeye_new_window_message" style="display: none;"&gt;Opens in new window&lt;/DIV&gt;
&lt;DIV id="audioeye_pdf_message" style="display: none;"&gt;PDF Download&lt;/DIV&gt;
&lt;DIV id="audioeye_word_message" style="display: none;"&gt;Word Download&lt;/DIV&gt;
&lt;DIV id="audioeye_excel_message" style="display: none;"&gt;Excel Download&lt;/DIV&gt;
&lt;DIV id="audioeye_powerpoint_message" style="display: none;"&gt;PowerPoint Download&lt;/DIV&gt;
&lt;DIV id="audioeye_document_message" style="display: none;"&gt;Document Download&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;!--
        Versioning Control Panel if versioning = true !
    --&gt; &lt;!--
        Launcher
    --&gt;  &lt;!-- Toolbar --&gt;
&lt;ASIDE id="ae_toolbar" tabindex="0" aria-label="Accessibility options"&gt;&lt;/ASIDE&gt;
&lt;!--
        Site Menu
    --&gt;  &lt;!--
        Generic Aria Live message container
    --&gt;
&lt;DIV id="ae_enabled_messages" class="ae-blurb-noaudio" aria-relevant="additions" aria-live="assertive"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;!-- Symbol definitions --&gt;    &lt;/DIV&gt;
&lt;!-- end #ae_app --&gt;</description>
      <pubDate>Thu, 13 Feb 2025 10:24:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Log-error-from-tDBRow-component-without-stopping-the-job/m-p/2505732#M141769</guid>
      <dc:creator>quentin-vigne</dc:creator>
      <dc:date>2025-02-13T10:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: Log error from tDBRow component without stopping the job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Log-error-from-tDBRow-component-without-stopping-the-job/m-p/2542346#M149399</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;- Move&amp;nbsp;&lt;SPAN&gt;tDBRow&amp;nbsp;component to a child job and log the error in the child job, pass the current query from main job to child job, please refer to this &lt;A href="https://community.qlik.com/t5/Official-Support-Articles/Qlik-Talend-Data-Integration-Passing-a-value-from-a-parent-Job/ta-p/2151394" target="_self"&gt;KB article&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;- Use&lt;/SPAN&gt;&lt;SPAN&gt; a tRunJob component to call the child job, uncheck the 'Die on error' option on tRunJob.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;- Check the 'Die on error' option on tDBRow component. This ensures that the component throws out the error, allowing you to catch and log it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Shicong&lt;/P&gt;</description>
      <pubDate>Wed, 04 Feb 2026 07:51:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Log-error-from-tDBRow-component-without-stopping-the-job/m-p/2542346#M149399</guid>
      <dc:creator>Shicong_Hong</dc:creator>
      <dc:date>2026-02-04T07:51:39Z</dc:date>
    </item>
  </channel>
</rss>

