<?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: exiting a job under certain conditions in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/exiting-a-job-under-certain-conditions/m-p/2346309#M113724</link>
    <description>&lt;P&gt;Hi YuriB,&lt;/P&gt; 
&lt;P&gt;You can set the condition in the tMap expression filter -- ((Integer)globalMap.get("&amp;lt;dbcomponent&amp;gt;_1_NB_LINE")) &amp;gt; 0.&lt;/P&gt; 
&lt;P&gt;It will check the number of records returned by the database component. If it's null it will not proceed further.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Best Regards,&lt;/P&gt; 
&lt;P&gt;Abhishek&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Sep 2017 06:45:52 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-09-18T06:45:52Z</dc:date>
    <item>
      <title>exiting a job under certain conditions</title>
      <link>https://community.qlik.com/t5/Talend-Studio/exiting-a-job-under-certain-conditions/m-p/2346308#M113723</link>
      <description>&lt;P&gt;Hello everyone&lt;/P&gt;
&lt;P&gt;I have a requirement in TalenDI 6.4 to &lt;STRONG&gt;exit the job&lt;/STRONG&gt; without doing any work under certain conditions.&lt;/P&gt;
&lt;P&gt;Example: Job reads a value from a database and if the value is not found (or a certain value or null is returned) then simply exit job.&lt;/P&gt;
&lt;P&gt;So it is not error condition, I don't want to crash the job, I simply do not want it to proceed any further from this point onwards.&lt;/P&gt;
&lt;P&gt;What is the easiest way to deal with this?&lt;/P&gt;
&lt;P&gt;I am not sure if calling System.exit() from tJava is a good idea or even supported by Talend DI ?&lt;/P&gt;
&lt;P&gt;I guess I am looking for something like &lt;STRONG&gt;tJobExit&lt;/STRONG&gt; (which does not seem to exist in DI 6.4.1).&lt;/P&gt;
&lt;P&gt;thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2017 01:56:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/exiting-a-job-under-certain-conditions/m-p/2346308#M113723</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-18T01:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: exiting a job under certain conditions</title>
      <link>https://community.qlik.com/t5/Talend-Studio/exiting-a-job-under-certain-conditions/m-p/2346309#M113724</link>
      <description>&lt;P&gt;Hi YuriB,&lt;/P&gt; 
&lt;P&gt;You can set the condition in the tMap expression filter -- ((Integer)globalMap.get("&amp;lt;dbcomponent&amp;gt;_1_NB_LINE")) &amp;gt; 0.&lt;/P&gt; 
&lt;P&gt;It will check the number of records returned by the database component. If it's null it will not proceed further.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Best Regards,&lt;/P&gt; 
&lt;P&gt;Abhishek&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2017 06:45:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/exiting-a-job-under-certain-conditions/m-p/2346309#M113724</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-18T06:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: exiting a job under certain conditions</title>
      <link>https://community.qlik.com/t5/Talend-Studio/exiting-a-job-under-certain-conditions/m-p/2346310#M113725</link>
      <description>thanks, I will check this out.&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Sep 2017 06:50:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/exiting-a-job-under-certain-conditions/m-p/2346310#M113725</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-18T06:50:28Z</dc:date>
    </item>
  </channel>
</rss>

