<?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 Force reload task to fail in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Force-reload-task-to-fail/m-p/219884#M72854</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! I just put some non-correct syntax in code and it can stop (Unknow statement error.) Work same the way the you suggested. Thanks again! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Dec 2010 03:25:56 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-12-21T03:25:56Z</dc:date>
    <item>
      <title>Force reload task to fail</title>
      <link>https://community.qlik.com/t5/QlikView/Force-reload-task-to-fail/m-p/219882#M72852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;Is there any way to force a reload task to fail? I want to stop the execution of the script/reload when no data is returned. I need it to be "failed" so that subsequent task scheduled in Publisher would not execute. (scheduled task will only be executed if previous task completed successfully)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2010 06:45:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Force-reload-task-to-fail/m-p/219882#M72852</guid>
      <dc:creator />
      <dc:date>2010-12-10T06:45:13Z</dc:date>
    </item>
    <item>
      <title>Force reload task to fail</title>
      <link>https://community.qlik.com/t5/QlikView/Force-reload-task-to-fail/m-p/219883#M72853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IF $(condition ) THEN&lt;/P&gt;&lt;P&gt;LOAD * from inexistent.txt (txt, codepage is 1252, no labels, delimiter is '\t', msq) ;&lt;/P&gt;&lt;P&gt;END IF&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Dec 2010 09:13:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Force-reload-task-to-fail/m-p/219883#M72853</guid>
      <dc:creator />
      <dc:date>2010-12-13T09:13:00Z</dc:date>
    </item>
    <item>
      <title>Force reload task to fail</title>
      <link>https://community.qlik.com/t5/QlikView/Force-reload-task-to-fail/m-p/219884#M72854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! I just put some non-correct syntax in code and it can stop (Unknow statement error.) Work same the way the you suggested. Thanks again! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Dec 2010 03:25:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Force-reload-task-to-fail/m-p/219884#M72854</guid>
      <dc:creator />
      <dc:date>2010-12-21T03:25:56Z</dc:date>
    </item>
    <item>
      <title>Force reload task to fail</title>
      <link>https://community.qlik.com/t5/QlikView/Force-reload-task-to-fail/m-p/219885#M72855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When loading SQL tables with the scheduler into Qlikview it can happen that the process, which fills the SQL Table, has not finished and the table is empty. This leads to a working reload but unfortunately the qlikview application is empty.&lt;/P&gt;&lt;P&gt;In this case (SQL table has 0 records) it would be better not to reload (cancel reload) and keep the previous loaded data.&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;&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;&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;&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&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;BR /&gt;&lt;BR /&gt; &lt;P style="font-style: italic"&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;TPR:&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;SQL&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;B&gt;SELECT&lt;/B&gt; count(*) as number_of_records&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;FROM&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;SCHEMADB.TPR;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;LET&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;TABLE_HAS_RECORDS = round(peek( 'NUMBER_OF_RECORDS', 0, TPR));&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;IF&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;NOT(TABLE_HAS_RECORDS) &lt;B&gt;THEN&lt;/B&gt; &lt;P style="font-weight: bold"&gt;//Reload will be cancelled&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;END&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;IF&lt;/B&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2011 11:29:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Force-reload-task-to-fail/m-p/219885#M72855</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-02T11:29:11Z</dc:date>
    </item>
  </channel>
</rss>

