<?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: Email alert using Error mode in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Email-alert-using-Error-mode/m-p/1057018#M354219</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if your application is big, you can store the scripterrorcount into a qvd and do a load from this qvd instead of binary load.&lt;/P&gt;&lt;P&gt;So this app only will habe one table with one field and one value.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 12 Mar 2016 10:15:20 GMT</pubDate>
    <dc:creator>martinpohl</dc:creator>
    <dc:date>2016-03-12T10:15:20Z</dc:date>
    <item>
      <title>Email alert using Error mode</title>
      <link>https://community.qlik.com/t5/QlikView/Email-alert-using-Error-mode/m-p/1057012#M354213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have implemented email-alert on failure of my dashboard and also on successfull completion of my dashboard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using Error mode=0 to create two alerts(one for successful and one for failure). It is working fine and I am getting error description also in my mail body. But big challenge is when error occurs, due to error mode set zero, dashboard with incorrect data model getting distributed to accesspoint. I want t o stop distribution of dashboard incase error occurs. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea will be very helpful here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2016 17:32:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Email-alert-using-Error-mode/m-p/1057012#M354213</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-11T17:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: Email alert using Error mode</title>
      <link>https://community.qlik.com/t5/QlikView/Email-alert-using-Error-mode/m-p/1057013#M354214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So why you are using errormode = 0 when you don't want to reload and distribute the applikation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My suggest:&lt;/P&gt;&lt;P&gt;1.Do reload your data model in a seperate app.&lt;/P&gt;&lt;P&gt;While using erromode = 0 use scripterrorcount at the end of script.&lt;/P&gt;&lt;P&gt;load the value into a table.&lt;/P&gt;&lt;P&gt;2. Create a second app, use binary load the data model from app 1. Don't use errormode = 0 here and crash application if scripterrorcount &amp;gt;0&lt;/P&gt;&lt;P&gt;3. Create a task with multiple succesfull load tasks. Here use task 1 and 2.&lt;/P&gt;&lt;P&gt;So task 3 will only start if there is no script error.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2016 17:40:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Email-alert-using-Error-mode/m-p/1057013#M354214</guid>
      <dc:creator>martinpohl</dc:creator>
      <dc:date>2016-03-11T17:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Email alert using Error mode</title>
      <link>https://community.qlik.com/t5/QlikView/Email-alert-using-Error-mode/m-p/1057014#M354215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx for your response. But I am not clear with this concept. Could you please explain more elaborately?&lt;/P&gt;&lt;P&gt;How to crash application by Scripterrorcount&amp;gt;0?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2016 19:29:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Email-alert-using-Error-mode/m-p/1057014#M354215</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-11T19:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: Email alert using Error mode</title>
      <link>https://community.qlik.com/t5/QlikView/Email-alert-using-Error-mode/m-p/1057015#M354216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;write a script that must create an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Write scripterrocount into variable&lt;/P&gt;&lt;P&gt;let Errors = peek('ErrorCount',0,'Errors');&lt;/P&gt;&lt;P&gt;if $(Errors) &amp;gt; 0 then&lt;/P&gt;&lt;P&gt;abc&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //script that doesn't work&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;Trace No errors found;&lt;/P&gt;&lt;P&gt;endif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2016 19:36:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Email-alert-using-Error-mode/m-p/1057015#M354216</guid>
      <dc:creator>martinpohl</dc:creator>
      <dc:date>2016-03-11T19:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: Email alert using Error mode</title>
      <link>https://community.qlik.com/t5/QlikView/Email-alert-using-Error-mode/m-p/1057016#M354217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok i got it I need to create two qvw one is for only reloading the script and saving to some qvd and other to binary load first one and check for error, if error occurs it will fail or else it will run and distribute.so incase successful, it will run twice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But wont that be performance challenge, my application size is big, loading same application twice will be challenging?Is there any other way for it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Mar 2016 09:32:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Email-alert-using-Error-mode/m-p/1057016#M354217</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-12T09:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: Email alert using Error mode</title>
      <link>https://community.qlik.com/t5/QlikView/Email-alert-using-Error-mode/m-p/1057017#M354218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let the QlikView application run with error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a alert email from QlikView server or from QlikView desktop Alert feature on failure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you get the alert email. You can check the log file of the QVW application for error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Mar 2016 10:06:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Email-alert-using-Error-mode/m-p/1057017#M354218</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-03-12T10:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: Email alert using Error mode</title>
      <link>https://community.qlik.com/t5/QlikView/Email-alert-using-Error-mode/m-p/1057018#M354219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if your application is big, you can store the scripterrorcount into a qvd and do a load from this qvd instead of binary load.&lt;/P&gt;&lt;P&gt;So this app only will habe one table with one field and one value.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Mar 2016 10:15:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Email-alert-using-Error-mode/m-p/1057018#M354219</guid>
      <dc:creator>martinpohl</dc:creator>
      <dc:date>2016-03-12T10:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Email alert using Error mode</title>
      <link>https://community.qlik.com/t5/QlikView/Email-alert-using-Error-mode/m-p/1057019#M354220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kush,&lt;/P&gt;&lt;P&gt;Could you pleas tel me how should i implement alert in Qlikview desktop on dashboard failure?Because I am not able to find&amp;nbsp; a logic to set alert with script error? Could you please tel me the logic&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Mar 2016 18:31:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Email-alert-using-Error-mode/m-p/1057019#M354220</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-12T18:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: Email alert using Error mode</title>
      <link>https://community.qlik.com/t5/QlikView/Email-alert-using-Error-mode/m-p/1057020#M354221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Martin, your responses are very helpful. But I am not supposed to use alert in different qvw, I want within same dashboard.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Mar 2016 18:32:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Email-alert-using-Error-mode/m-p/1057020#M354221</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-12T18:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: Email alert using Error mode</title>
      <link>https://community.qlik.com/t5/QlikView/Email-alert-using-Error-mode/m-p/1057021#M354222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Open your application, go to&amp;nbsp; Setting -&amp;gt; User Preference -&amp;gt; Mail.&lt;/P&gt;&lt;P&gt;Configure your SMTP server email account. You will get the Alert email from this account on reload.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/117819_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in the same application go to Tool -&amp;gt; Alert -&amp;gt; Click on Add and do the setting as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/117821_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when application fails to reload mail will be triggered.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Mar 2016 05:36:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Email-alert-using-Error-mode/m-p/1057021#M354222</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-03-13T05:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: Email alert using Error mode</title>
      <link>https://community.qlik.com/t5/QlikView/Email-alert-using-Error-mode/m-p/1057022#M354223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kush,&lt;/P&gt;&lt;P&gt;But this function does not trigger any email from qmc. Is it working for you?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 06:21:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Email-alert-using-Error-mode/m-p/1057022#M354223</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-14T06:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: Email alert using Error mode</title>
      <link>https://community.qlik.com/t5/QlikView/Email-alert-using-Error-mode/m-p/1057023#M354224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I was unable to implement in same dashboard I have used your concept and implemented.&lt;/P&gt;&lt;P&gt;Thanks for the help. I am facing one issue in some dashboard though Error mode is set to zero , it fails in middle when there is any error. Why Errormode acts differently in different dashboards. Also noticed one more bug ScriptErrordetails will have blank values some times, also in some cases scripterrordetails variable ll not appear. Could you please explain why it behaves like this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Mar 2016 12:07:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Email-alert-using-Error-mode/m-p/1057023#M354224</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-25T12:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: Email alert using Error mode</title>
      <link>https://community.qlik.com/t5/QlikView/Email-alert-using-Error-mode/m-p/1057024#M354225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;blank values n scripterrordetails I never had before.&lt;/P&gt;&lt;P&gt;Errormode 0 for me works to run the script although there are errors in.&lt;/P&gt;&lt;P&gt;But what never works (even with errormode 0) is to use a store command when the table can't be stored (missing folder, missing folder right, file is blocked by another user etc). This wil cause an error and stop the script all times.&lt;/P&gt;&lt;P&gt;For more analyse attach your script log.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Mar 2016 12:18:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Email-alert-using-Error-mode/m-p/1057024#M354225</guid>
      <dc:creator>martinpohl</dc:creator>
      <dc:date>2016-03-25T12:18:31Z</dc:date>
    </item>
  </channel>
</rss>

