<?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 Stop Job on no value in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Stop-Job-on-no-value/m-p/2298823#M71234</link>
    <description>&lt;P&gt;Hello, I want to put some restriction and stop the process in case of no value. (not null value).&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;So i want to check:&lt;/P&gt;&lt;P&gt;1) if a quey in the component &lt;B&gt;t_DBInput &lt;/B&gt;doesn't return anything -&amp;gt; &lt;B&gt;t_Die&lt;/B&gt;, else goes on.&lt;/P&gt;&lt;P&gt;2) if a &lt;B&gt;t_FileFetch &lt;/B&gt;can't get the file -&amp;gt; &lt;B&gt;t_Die &lt;/B&gt;else goes on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to use the &lt;B&gt;t_SchemaComplianceCheck &lt;/B&gt;but it seems checking on Null value, not on no value at all. Or maybe the component is the right one but i'm using it in the wrong way.&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 22:58:57 GMT</pubDate>
    <dc:creator>EGuarato1648206044</dc:creator>
    <dc:date>2024-11-15T22:58:57Z</dc:date>
    <item>
      <title>Stop Job on no value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Stop-Job-on-no-value/m-p/2298823#M71234</link>
      <description>&lt;P&gt;Hello, I want to put some restriction and stop the process in case of no value. (not null value).&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;So i want to check:&lt;/P&gt;&lt;P&gt;1) if a quey in the component &lt;B&gt;t_DBInput &lt;/B&gt;doesn't return anything -&amp;gt; &lt;B&gt;t_Die&lt;/B&gt;, else goes on.&lt;/P&gt;&lt;P&gt;2) if a &lt;B&gt;t_FileFetch &lt;/B&gt;can't get the file -&amp;gt; &lt;B&gt;t_Die &lt;/B&gt;else goes on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to use the &lt;B&gt;t_SchemaComplianceCheck &lt;/B&gt;but it seems checking on Null value, not on no value at all. Or maybe the component is the right one but i'm using it in the wrong way.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 22:58:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Stop-Job-on-no-value/m-p/2298823#M71234</guid>
      <dc:creator>EGuarato1648206044</dc:creator>
      <dc:date>2024-11-15T22:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: Stop Job on no value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Stop-Job-on-no-value/m-p/2298824#M71235</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;For 1), there is a global variable that counts the total number of records are returned, you can use this variable as condition, eg:&lt;/P&gt;&lt;P&gt;tDBInput--tJavaRow( or other components)---runIf--tDie&lt;/P&gt;&lt;P&gt;set the condition of runIf as:&lt;/P&gt;&lt;P&gt;((Integer)globalMap.get("tDBInput_1_NB_LINE"))==0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For 2),  just check the 'die on error' box? does the component has an error if no file is fetched?&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>Thu, 28 Apr 2022 02:37:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Stop-Job-on-no-value/m-p/2298824#M71235</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-04-28T02:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: Stop Job on no value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Stop-Job-on-no-value/m-p/2298825#M71236</link>
      <description>&lt;P&gt;Hi, for tSchemaComplianceCheck you have an option in advanced settings of the component named &lt;B&gt;Treat all empty string as NULL&lt;/B&gt;,&lt;/P&gt;&lt;P&gt;if you check this one and set a non null column then the component will reject null value and empty value for a String.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 09:17:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Stop-Job-on-no-value/m-p/2298825#M71236</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2022-04-29T09:17:58Z</dc:date>
    </item>
  </channel>
</rss>

