<?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: Qlik Sense script, is it possible to manually exit script with errors in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-script-is-it-possible-to-manually-exit-script-with/m-p/2511843#M105134</link>
    <description>&lt;P&gt;That's an interesting workaround.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm just not a fan of the constant alert of the syntax check, but it works &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
    <pubDate>Thu, 27 Mar 2025 09:55:29 GMT</pubDate>
    <dc:creator>herard_bertrand</dc:creator>
    <dc:date>2025-03-27T09:55:29Z</dc:date>
    <item>
      <title>Qlik Sense script, is it possible to manually exit script with errors</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-script-is-it-possible-to-manually-exit-script-with/m-p/2511819#M105128</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;In Qlik Sense, in the load script. If a result of a variable is wrong, i'd like to interrupt the Script.&lt;/P&gt;&lt;P&gt;It's easy to interrupt the script : I use a if then else, and an EXIT SCRIPT; when I need to.&lt;/P&gt;&lt;P&gt;But is there a way to EXIT SCRIPT as an error ? I mean, when I do an EXIT SCRIPT, the reload stops, but in schedulers the reload appears as a successfull reload. Is there a way to exit script as a failed reload ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;(I'm looking equivalent to exit code = 1)&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;BR /&gt;Best Regards&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 08:45:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-script-is-it-possible-to-manually-exit-script-with/m-p/2511819#M105128</guid>
      <dc:creator>herard_bertrand</dc:creator>
      <dc:date>2025-03-27T08:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense script, is it possible to manually exit script with errors</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-script-is-it-possible-to-manually-exit-script-with/m-p/2511832#M105131</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/51659"&gt;@herard_bertrand&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have had this as well - just do something like this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;IF zVariable = 'Wrong value' then&amp;nbsp;&lt;/P&gt;&lt;P&gt;fail here;&lt;/P&gt;&lt;P&gt;End if;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"The word fail here is just in text so this will cause the application to fail" So in the script it looks like this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JandreKillianRIC_0-1743067118951.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/179031iED445DB8B575A2FD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JandreKillianRIC_0-1743067118951.png" alt="JandreKillianRIC_0-1743067118951.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards Jandre&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 09:18:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-script-is-it-possible-to-manually-exit-script-with/m-p/2511832#M105131</guid>
      <dc:creator>JandreKillianRIC</dc:creator>
      <dc:date>2025-03-27T09:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense script, is it possible to manually exit script with errors</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-script-is-it-possible-to-manually-exit-script-with/m-p/2511843#M105134</link>
      <description>&lt;P&gt;That's an interesting workaround.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm just not a fan of the constant alert of the syntax check, but it works &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 09:55:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-script-is-it-possible-to-manually-exit-script-with/m-p/2511843#M105134</guid>
      <dc:creator>herard_bertrand</dc:creator>
      <dc:date>2025-03-27T09:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense script, is it possible to manually exit script with errors</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-script-is-it-possible-to-manually-exit-script-with/m-p/2511844#M105135</link>
      <description>&lt;P&gt;*Presenter voice* Then you're just going to love our new... quotes!&lt;/P&gt;&lt;P&gt;IF 1=1 then&lt;/P&gt;&lt;P&gt;'fail here';&lt;/P&gt;&lt;P&gt;End if;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also do not like the alert. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 09:57:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-script-is-it-possible-to-manually-exit-script-with/m-p/2511844#M105135</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2025-03-27T09:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense script, is it possible to manually exit script with errors</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-script-is-it-possible-to-manually-exit-script-with/m-p/2511851#M105137</link>
      <description>&lt;P&gt;Heu... thanks but I still have the alert &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; (I'm working on Qlik Cloud not On Premise maybe this is a difference)&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 10:45:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-script-is-it-possible-to-manually-exit-script-with/m-p/2511851#M105137</guid>
      <dc:creator>herard_bertrand</dc:creator>
      <dc:date>2025-03-27T10:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense script, is it possible to manually exit script with errors</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-script-is-it-possible-to-manually-exit-script-with/m-p/2511858#M105138</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/51659"&gt;@herard_bertrand&lt;/a&gt;&amp;nbsp; Had a look at doing this in Cloud, this should work:&lt;/P&gt;&lt;P&gt;IF 1=1 then&lt;/P&gt;&lt;P&gt;Load * from NotReal.qvd;&lt;/P&gt;&lt;P&gt;End if&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 11:23:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-script-is-it-possible-to-manually-exit-script-with/m-p/2511858#M105138</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2025-03-27T11:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense script, is it possible to manually exit script with errors</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-script-is-it-possible-to-manually-exit-script-with/m-p/2511860#M105139</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/51659"&gt;@herard_bertrand&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Alternatively if you dont like the alert just do something like this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;IF zVariable = 'Wrong value' then&amp;nbsp;&lt;/P&gt;&lt;P&gt;Load * From [lib://ThisDoesntExist/FailHere.Qvd](qvd);&amp;nbsp;&lt;/P&gt;&lt;P&gt;End if;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards Jandre&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 11:25:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-script-is-it-possible-to-manually-exit-script-with/m-p/2511860#M105139</guid>
      <dc:creator>JandreKillianRIC</dc:creator>
      <dc:date>2025-03-27T11:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense script, is it possible to manually exit script with errors</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-script-is-it-possible-to-manually-exit-script-with/m-p/2511926#M105156</link>
      <description>&lt;P&gt;OK, it will due,&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 17:17:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-script-is-it-possible-to-manually-exit-script-with/m-p/2511926#M105156</guid>
      <dc:creator>herard_bertrand</dc:creator>
      <dc:date>2025-03-27T17:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense script, is it possible to manually exit script with errors</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-script-is-it-possible-to-manually-exit-script-with/m-p/2511930#M105158</link>
      <description>&lt;P&gt;You can do it like this to avoid any syntax flags:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Set vFail=;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;IF 1=1 then&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; Set vFail = 'Fail here!';&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;End If&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;$(vFail)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 19:09:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-script-is-it-possible-to-manually-exit-script-with/m-p/2511930#M105158</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2025-03-27T19:09:13Z</dc:date>
    </item>
  </channel>
</rss>

