<?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 Make the job status successful in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Make-the-job-status-successful/m-p/2208348#M7617</link>
    <description>&lt;P&gt;Hi Team,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Below is my job. Currently, the query which I am running if it does not return any rows I am terminating the job, because I don't want to send any email if there are no rows. Hence, I thought of to terminate the job using the tDie component with a message. However, since I am terminating the job the status of the job is recorded as failed. Please suggest any possible way to make the job successful and also not to send any email.&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MZs5.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129643iA8CEE949379AEF6D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MZs5.jpg" alt="0683p000009MZs5.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 02:12:03 GMT</pubDate>
    <dc:creator>sbhadra</dc:creator>
    <dc:date>2024-11-16T02:12:03Z</dc:date>
    <item>
      <title>Make the job status successful</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Make-the-job-status-successful/m-p/2208348#M7617</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Below is my job. Currently, the query which I am running if it does not return any rows I am terminating the job, because I don't want to send any email if there are no rows. Hence, I thought of to terminate the job using the tDie component with a message. However, since I am terminating the job the status of the job is recorded as failed. Please suggest any possible way to make the job successful and also not to send any email.&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MZs5.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129643iA8CEE949379AEF6D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MZs5.jpg" alt="0683p000009MZs5.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:12:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Make-the-job-status-successful/m-p/2208348#M7617</guid>
      <dc:creator>sbhadra</dc:creator>
      <dc:date>2024-11-16T02:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: Make the job status successful</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Make-the-job-status-successful/m-p/2208349#M7618</link>
      <description>&lt;P&gt;Hi &lt;BR /&gt;Use runIf connector to trigger next business processing based on the query result, for example:&lt;BR /&gt;tOracleinput--main--tHashOutput&lt;BR /&gt;--runIf1---tWarn&lt;BR /&gt;--runIf2--tHashInput--main-tUniqRo-tFlowToIterate...&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; --onsubjobok--tJava(Email body)...&lt;BR /&gt;&lt;BR /&gt;set the condition of runIf1 as:&lt;BR /&gt;((Integer)globalMap.get("tDBInput_1_NB_LINE"))==0&lt;/P&gt; 
&lt;P&gt;set the condition of runIf2 as:&lt;BR /&gt;((Integer)globalMap.get("tDBInput_1_NB_LINE"))&amp;gt;0&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;the subjobs linked by runIf2 will not be executed if there is no rows returned,&lt;/P&gt; 
&lt;P&gt;Use a tWarn to send out a customize message.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Regards&lt;/P&gt; 
&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2020 04:05:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Make-the-job-status-successful/m-p/2208349#M7618</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-06-10T04:05:23Z</dc:date>
    </item>
  </channel>
</rss>

