<?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 Send Email when a condition satisfied at the Job execution time in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Send-Email-when-a-condition-satisfied-at-the-Job-execution-time/m-p/183561#M48769</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Anand,&lt;/P&gt;&lt;P&gt;In Script create a Variable. If condition satisfies assign a value, if not assign another value.&lt;/P&gt;&lt;P&gt;eg:&lt;/P&gt;&lt;P&gt;if(........ then&lt;/P&gt;&lt;P&gt;vtest =1&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;vtest =2&lt;/P&gt;&lt;P&gt;end if&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in Alerts add condition as vtest=1 and in events select only onPostReload. This should satisfy your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Jan 2011 05:22:03 GMT</pubDate>
    <dc:creator>deepakk</dc:creator>
    <dc:date>2011-01-25T05:22:03Z</dc:date>
    <item>
      <title>Send Email when a condition satisfied at the Job execution time</title>
      <link>https://community.qlik.com/t5/QlikView/Send-Email-when-a-condition-satisfied-at-the-Job-execution-time/m-p/183560#M48768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everybody,&lt;BR /&gt; I have to send mail based on a condition whenever it is true. I mentioned this condition in Tools-&amp;gt;Alerts.&lt;BR /&gt;I can get the mail when I open the file or when I reload it based on the selection in Alerts but my requirement is, I'll have to schedule my QVW file to run twice on a day daily and while running when it satisfy the condition then it should send a mail. Condition is very simple and based on function and selected field.&lt;/P&gt;&lt;P&gt;I tried all the options in Alerts but it doesn't work. Any body has any idea how to implement it.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jan 2011 05:07:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Send-Email-when-a-condition-satisfied-at-the-Job-execution-time/m-p/183560#M48768</guid>
      <dc:creator />
      <dc:date>2011-01-25T05:07:07Z</dc:date>
    </item>
    <item>
      <title>Send Email when a condition satisfied at the Job execution time</title>
      <link>https://community.qlik.com/t5/QlikView/Send-Email-when-a-condition-satisfied-at-the-Job-execution-time/m-p/183561#M48769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Anand,&lt;/P&gt;&lt;P&gt;In Script create a Variable. If condition satisfies assign a value, if not assign another value.&lt;/P&gt;&lt;P&gt;eg:&lt;/P&gt;&lt;P&gt;if(........ then&lt;/P&gt;&lt;P&gt;vtest =1&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;vtest =2&lt;/P&gt;&lt;P&gt;end if&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in Alerts add condition as vtest=1 and in events select only onPostReload. This should satisfy your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jan 2011 05:22:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Send-Email-when-a-condition-satisfied-at-the-Job-execution-time/m-p/183561#M48769</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2011-01-25T05:22:03Z</dc:date>
    </item>
    <item>
      <title>Send Email when a condition satisfied at the Job execution time</title>
      <link>https://community.qlik.com/t5/QlikView/Send-Email-when-a-condition-satisfied-at-the-Job-execution-time/m-p/183562#M48770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Deepak,&lt;BR /&gt; I think I am doing the same thing.&lt;BR /&gt;I have given this "=minute(Time(Now(),'HH:MM:SS')) - minute(Last_Time) &amp;gt; 5" in the condition section on Alerts box.&lt;/P&gt;&lt;P&gt;I have checked the option "Post Reload". It works when I reload the QVW file(I get mail) but when I schedule it and at the schedule time when it runs then it doesn't work. I mean I don't get email.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jan 2011 06:06:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Send-Email-when-a-condition-satisfied-at-the-Job-execution-time/m-p/183562#M48770</guid>
      <dc:creator />
      <dc:date>2011-01-25T06:06:56Z</dc:date>
    </item>
    <item>
      <title>Send Email when a condition satisfied at the Job execution time</title>
      <link>https://community.qlik.com/t5/QlikView/Send-Email-when-a-condition-satisfied-at-the-Job-execution-time/m-p/183563#M48771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Anand ,&lt;/P&gt;&lt;P&gt;Try a simple one like the one above , check if it is working ( just to ensure its not a bug).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think in your case the condition is not getting satisfied . What is the exact scenario. May be we can think of different method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jan 2011 06:40:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Send-Email-when-a-condition-satisfied-at-the-Job-execution-time/m-p/183563#M48771</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2011-01-25T06:40:59Z</dc:date>
    </item>
    <item>
      <title>Send Email when a condition satisfied at the Job execution time</title>
      <link>https://community.qlik.com/t5/QlikView/Send-Email-when-a-condition-satisfied-at-the-Job-execution-time/m-p/183564#M48772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Anand,&lt;/P&gt;&lt;P&gt;Deepak is right. You can try your hands by creating macros..write the coding in vb. I feel that is a more a responsible way of achieving this requirment. Kindly try and let me know if you face any problem in coding required for this. &lt;IMG alt="Wink" src="http://community.qlik.com/emoticons/emotion-5.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jan 2011 06:48:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Send-Email-when-a-condition-satisfied-at-the-Job-execution-time/m-p/183564#M48772</guid>
      <dc:creator>gauravkhare</dc:creator>
      <dc:date>2011-01-25T06:48:34Z</dc:date>
    </item>
    <item>
      <title>Send Email when a condition satisfied at the Job execution time</title>
      <link>https://community.qlik.com/t5/QlikView/Send-Email-when-a-condition-satisfied-at-the-Job-execution-time/m-p/183565#M48773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you check the "Batch" option in the alert?&lt;/P&gt;&lt;P&gt;See this post&lt;BR /&gt;&lt;A href="http://qlikviewnotes.blogspot.com/2010/09/monitoring-reload-schedule.html"&gt;http://qlikviewnotes.blogspot.com/2010/09/monitoring-reload-schedule.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://qlikviewnotes.blogspot.com/2010/09/monitoring-reload-schedule.html"&gt;&lt;/A&gt;for an example of an alert that runs post reload.&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jan 2011 06:55:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Send-Email-when-a-condition-satisfied-at-the-Job-execution-time/m-p/183565#M48773</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2011-01-25T06:55:29Z</dc:date>
    </item>
    <item>
      <title>Send Email when a condition satisfied at the Job execution time</title>
      <link>https://community.qlik.com/t5/QlikView/Send-Email-when-a-condition-satisfied-at-the-Job-execution-time/m-p/183566#M48774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Deepak, Gaurav and Rob. It is working now. I just checked Event as Post Reload, Mode as Batch and Trigger Level as always. I got email when it executed as per schedule.&lt;/P&gt;&lt;P&gt;Now I am started getting another problem. Probably I am doing something wrong. When job started then it keeps running. It is not ending. I want that job should run as per schedule and then stops after completion of load which I have written in the script but it keeps running.&lt;/P&gt;&lt;P&gt;Any idea.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jan 2011 07:14:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Send-Email-when-a-condition-satisfied-at-the-Job-execution-time/m-p/183566#M48774</guid>
      <dc:creator />
      <dc:date>2011-01-25T07:14:32Z</dc:date>
    </item>
    <item>
      <title>Send Email when a condition satisfied at the Job execution time</title>
      <link>https://community.qlik.com/t5/QlikView/Send-Email-when-a-condition-satisfied-at-the-Job-execution-time/m-p/183567#M48775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guys, it is working fine now. It was my mistake. I did some setting changes that why it was running continuosly. Thanks a lot for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jan 2011 07:45:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Send-Email-when-a-condition-satisfied-at-the-Job-execution-time/m-p/183567#M48775</guid>
      <dc:creator />
      <dc:date>2011-01-25T07:45:04Z</dc:date>
    </item>
  </channel>
</rss>

