<?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: ErrorMode when task runs in QMC in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/ErrorMode-when-task-runs-in-QMC/m-p/2153826#M93475</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/2856"&gt;@barnabyd&lt;/a&gt;&amp;nbsp;thank you. I'm using QlikView but your description can be right for QlikView as well.&lt;BR /&gt;Unfortunately, I cannot influence RAM or disk space and I'm looking for other ways to solve the problem.&lt;/P&gt;</description>
    <pubDate>Sun, 17 Dec 2023 20:42:46 GMT</pubDate>
    <dc:creator>Vladislav_qv_dev</dc:creator>
    <dc:date>2023-12-17T20:42:46Z</dc:date>
    <item>
      <title>ErrorMode when task runs in QMC</title>
      <link>https://community.qlik.com/t5/App-Development/ErrorMode-when-task-runs-in-QMC/m-p/2153536#M93437</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Is there any difference between errormode=1 and errormode=2 when you run a task in QMC through a system user?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I want to intentionally&amp;nbsp; get an error in my script, when a condition is met. It looks like:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;IF a=b THEN&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;write error message (just text inside the script that causes the error)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;END IF&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;By default ErrorMode equals 1, but in some cases (maybe&amp;nbsp;when other tasks are running at the same time, I don't understand exactly why), QMC doesn't generate DocumentLog (and I really need it to analyze further) - only TaskLog.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;So maybe&amp;nbsp;ErrorMode=1 causes forced closing of the document and in some cases the task doesn't complete&amp;nbsp;adequately?&lt;BR /&gt;If I set&amp;nbsp;ErrorMode=2, will something change in terms of creating logs?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2023 12:06:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/ErrorMode-when-task-runs-in-QMC/m-p/2153536#M93437</guid>
      <dc:creator>Vladislav_qv_dev</dc:creator>
      <dc:date>2023-12-15T12:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: ErrorMode when task runs in QMC</title>
      <link>https://community.qlik.com/t5/App-Development/ErrorMode-when-task-runs-in-QMC/m-p/2153790#M93469</link>
      <description>&lt;P&gt;You can maybe trace like,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;IF a=b THEN&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Trace 'The If condition not met exactly!'&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;// Same way, you can still call other conditions, an example a=b, What are they?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;END IF&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 17 Dec 2023 06:30:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/ErrorMode-when-task-runs-in-QMC/m-p/2153790#M93469</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2023-12-17T06:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: ErrorMode when task runs in QMC</title>
      <link>https://community.qlik.com/t5/App-Development/ErrorMode-when-task-runs-in-QMC/m-p/2153823#M93473</link>
      <description>&lt;P&gt;G'day&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/144397"&gt;@Vladislav_qv_dev&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Are we talking about Qlik Sense on Prem? If so, if a task fails without creating a reload log, then that would normally indicates a problem in the Qlik environment like low available RAM or disk space, or perhaps it's time for a periodic restart of the services to clean out the caches.&lt;/P&gt;
&lt;P&gt;If RAM is the problem then that could be caused by the load script in your app if you don't join two large tables correctly. If you mistype the join key on one table, then you can inadvertently create a cross join, which can easily chew up all your RAM.&lt;/P&gt;
&lt;P&gt;I hope this helps.&lt;/P&gt;
&lt;P&gt;Cheers, Barnaby.&lt;/P&gt;</description>
      <pubDate>Sun, 17 Dec 2023 20:26:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/ErrorMode-when-task-runs-in-QMC/m-p/2153823#M93473</guid>
      <dc:creator>barnabyd</dc:creator>
      <dc:date>2023-12-17T20:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: ErrorMode when task runs in QMC</title>
      <link>https://community.qlik.com/t5/App-Development/ErrorMode-when-task-runs-in-QMC/m-p/2153825#M93474</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/5533"&gt;@Anil_Babu_Samineni&lt;/a&gt;, thank you for your answer!&lt;/P&gt;
&lt;P&gt;But the problem is that I have to call an error during script execution to prevent further executions of following tasks. And it depends on complex logic that is written before this "a=b", so it cannot be done through standard tools of QMC.&lt;/P&gt;
&lt;P&gt;So unfortunately,&amp;nbsp; "&lt;STRONG&gt;Trace 'The If condition not met exactly!'&lt;/STRONG&gt;" is not enough.&lt;/P&gt;</description>
      <pubDate>Sun, 17 Dec 2023 20:39:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/ErrorMode-when-task-runs-in-QMC/m-p/2153825#M93474</guid>
      <dc:creator>Vladislav_qv_dev</dc:creator>
      <dc:date>2023-12-17T20:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: ErrorMode when task runs in QMC</title>
      <link>https://community.qlik.com/t5/App-Development/ErrorMode-when-task-runs-in-QMC/m-p/2153826#M93475</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/2856"&gt;@barnabyd&lt;/a&gt;&amp;nbsp;thank you. I'm using QlikView but your description can be right for QlikView as well.&lt;BR /&gt;Unfortunately, I cannot influence RAM or disk space and I'm looking for other ways to solve the problem.&lt;/P&gt;</description>
      <pubDate>Sun, 17 Dec 2023 20:42:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/ErrorMode-when-task-runs-in-QMC/m-p/2153826#M93475</guid>
      <dc:creator>Vladislav_qv_dev</dc:creator>
      <dc:date>2023-12-17T20:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: ErrorMode when task runs in QMC</title>
      <link>https://community.qlik.com/t5/App-Development/ErrorMode-when-task-runs-in-QMC/m-p/2154022#M93489</link>
      <description>&lt;P&gt;Make sure that the following configuration is set to 1 within the settings.ini under [Settings 7]:&lt;/P&gt;
&lt;P&gt;EnableFlushLog=1&lt;/P&gt;
&lt;P&gt;It forces QlikView to write each actions immediately in the log without buffering them which could be lost by errors.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Dec 2023 10:17:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/ErrorMode-when-task-runs-in-QMC/m-p/2154022#M93489</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2023-12-18T10:17:31Z</dc:date>
    </item>
  </channel>
</rss>

