<?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>idea Re: Make &amp;quot;exit script;&amp;quot; exiting script. For real. in Suggest an Idea</title>
    <link>https://community.qlik.com/t5/Suggest-an-Idea/Make-quot-exit-script-quot-exiting-script-For-real/idc-p/1666937#M146</link>
    <description>&lt;P&gt;Basically when you execute a script all variable references are resolved. "Must_Include" is the same - so irrespective of any control statements or exits in the code, the Includes must work or it will abort - yes it's annoying but it's the intended behaviour. Happy to "escalate" to Qlik for you but I suspect you will receive the same.&lt;/P&gt;</description>
    <pubDate>Fri, 17 Jan 2020 20:22:51 GMT</pubDate>
    <dc:creator>AndrewMcIlwrick</dc:creator>
    <dc:date>2020-01-17T20:22:51Z</dc:date>
    <item>
      <title>Make "exit script;" exiting script. For real.</title>
      <link>https://community.qlik.com/t5/Suggest-an-Idea/Make-quot-exit-script-quot-exiting-script-For-real/idi-p/1666654</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;Exit script is a very useful instruction to exit the execution of a script. As a example, I use it a lot instead of commenting several sections.&lt;BR /&gt;However, it appears tthat the code is still parsed... and throws errors !!!&lt;BR /&gt;&lt;BR /&gt;Especially Must-Include which is still executed.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 677px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/27068i9594ECB4D6184868/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I lost hours trying to understand why and this is everything but :&lt;/P&gt;
&lt;P&gt;1/very dangerous&lt;BR /&gt;2/unnatural&lt;BR /&gt;&lt;BR /&gt;Please make Make "exit script;" exiting script &lt;U&gt;&lt;EM&gt;&lt;STRONG&gt;for real.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Simon&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 15:05:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Suggest-an-Idea/Make-quot-exit-script-quot-exiting-script-For-real/idi-p/1666654</guid>
      <dc:creator>simonaubert</dc:creator>
      <dc:date>2020-11-25T15:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: Make "exit script;" exiting script. For real.</title>
      <link>https://community.qlik.com/t5/Suggest-an-Idea/Make-quot-exit-script-quot-exiting-script-For-real/idc-p/1666748#M144</link>
      <description>&lt;P&gt;Must_include is a dollar sign expansion of a system variable so will always take place before any script execution. Even its peer of "include" would also fail in such cases. It's objecting to the syntax of the connection, path and file rather than the underlying QVS itself.&lt;/P&gt;&lt;P&gt;I have seen your problem in several customer apps. It was frustrating when references to included scripts failed but you didn't care. Through due diligence, use of GIT and cleverly mapped app configuration we were able to ensure that scripts were virtually guaranteed to execute without error - especially in higher environments.&lt;/P&gt;&lt;P&gt;One other thing to watch out for is that if you exit the script the calling task may see this as a normal execution stop and report success. There are tricks such as wrapping the EXIT routine with a command that is syntactically incorrect etc, and others. I am sure there are loads of examples on like Qommunity to trap exceptions in clean ways but that was the approach I always took.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2020 13:22:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Suggest-an-Idea/Make-quot-exit-script-quot-exiting-script-For-real/idc-p/1666748#M144</guid>
      <dc:creator>AndrewMcIlwrick</dc:creator>
      <dc:date>2020-01-17T13:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Make "exit script;" exiting script. For real.</title>
      <link>https://community.qlik.com/t5/Suggest-an-Idea/Make-quot-exit-script-quot-exiting-script-For-real/idc-p/1666787#M145</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I don't follow you there&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;One other thing to watch out for is that if you exit the script the calling task may see this as a normal execution stop and report success.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I don't want exit script to generate an error, it's a perfectly legit stop &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;Through due diligence, use of GIT and cleverly mapped app configuration we were able to ensure that scripts were virtually guaranteed to execute without error - especially in higher environments&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;BR /&gt;Actually I don't have the issue in production environment, just in development.. but as mentioned : it's not natural.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Simon&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2020 14:34:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Suggest-an-Idea/Make-quot-exit-script-quot-exiting-script-For-real/idc-p/1666787#M145</guid>
      <dc:creator>simonaubert</dc:creator>
      <dc:date>2020-01-17T14:34:15Z</dc:date>
    </item>
    <item>
      <title>Re: Make "exit script;" exiting script. For real.</title>
      <link>https://community.qlik.com/t5/Suggest-an-Idea/Make-quot-exit-script-quot-exiting-script-For-real/idc-p/1666937#M146</link>
      <description>&lt;P&gt;Basically when you execute a script all variable references are resolved. "Must_Include" is the same - so irrespective of any control statements or exits in the code, the Includes must work or it will abort - yes it's annoying but it's the intended behaviour. Happy to "escalate" to Qlik for you but I suspect you will receive the same.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2020 20:22:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Suggest-an-Idea/Make-quot-exit-script-quot-exiting-script-For-real/idc-p/1666937#M146</guid>
      <dc:creator>AndrewMcIlwrick</dc:creator>
      <dc:date>2020-01-17T20:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: Make "exit script;" exiting script. For real.</title>
      <link>https://community.qlik.com/t5/Suggest-an-Idea/Make-quot-exit-script-quot-exiting-script-For-real/idc-p/1688787#M1714</link>
      <description>&lt;P&gt;awefwefwefv&lt;/P&gt;</description>
      <pubDate>Sun, 29 Mar 2020 12:04:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Suggest-an-Idea/Make-quot-exit-script-quot-exiting-script-For-real/idc-p/1688787#M1714</guid>
      <dc:creator>ADAAuditing</dc:creator>
      <dc:date>2020-03-29T12:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: Make "exit script;" exiting script. For real.</title>
      <link>https://community.qlik.com/t5/Suggest-an-Idea/Make-quot-exit-script-quot-exiting-script-For-real/idc-p/1688854#M1715</link>
      <description>&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":hugging_face:"&gt;🤗&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":monkey_face:"&gt;🐵&lt;/span&gt;i am&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2020 06:00:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Suggest-an-Idea/Make-quot-exit-script-quot-exiting-script-For-real/idc-p/1688854#M1715</guid>
      <dc:creator>ADAAuditing</dc:creator>
      <dc:date>2020-03-30T06:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: Make "exit script;" exiting script. For real. - Status changed to: Open - Not Planned</title>
      <link>https://community.qlik.com/t5/Suggest-an-Idea/Make-quot-exit-script-quot-exiting-script-For-real/idc-p/1695238#M1853</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/14788"&gt;@AndrewMcIlwrick&lt;/a&gt;&amp;nbsp;explains, this is the intended behavior.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Patric&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2020 12:49:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Suggest-an-Idea/Make-quot-exit-script-quot-exiting-script-For-real/idc-p/1695238#M1853</guid>
      <dc:creator>Patric_Nordstrom</dc:creator>
      <dc:date>2020-04-21T12:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: Make "exit script;" exiting script. For real. - Status changed to: Closed - Archived</title>
      <link>https://community.qlik.com/t5/Suggest-an-Idea/Make-quot-exit-script-quot-exiting-script-For-real/idc-p/2052652#M12270</link>
      <description>&lt;P&gt;Archiving due to relevance &amp;amp; time.&lt;/P&gt;
&lt;P&gt;Meghann&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 17:19:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Suggest-an-Idea/Make-quot-exit-script-quot-exiting-script-For-real/idc-p/2052652#M12270</guid>
      <dc:creator>Meghann_MacDonald</dc:creator>
      <dc:date>2023-03-23T17:19:49Z</dc:date>
    </item>
  </channel>
</rss>

