21.01.2013 Views

QlikView Reference Manual.pdf - QlikCommunity - QlikView

QlikView Reference Manual.pdf - QlikCommunity - QlikView

QlikView Reference Manual.pdf - QlikCommunity - QlikView

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

17 Alerts<br />

17.1 Creating Alerts<br />

The easiest way to define an alert is by using the Alert Wizard, which can be invoked from the Tools<br />

menu. Alerts may also be created and maintained in the Alerts dialog, which can be opened from the Tools<br />

menu. Alerts are stored as part of the <strong>QlikView</strong> document. Alerts can only be created and triggered from Windows<br />

versions of <strong>QlikView</strong> (that is, not from AJAX clients).<br />

17.2 Using Alerts<br />

<strong>QlikView</strong> alert checks can be triggered in three different ways:<br />

1. Automatically in the <strong>QlikView</strong> layout when there is a probability that the document’s data has<br />

changed, i.e. when the document is opened, when the script has been executed or when a Reduce<br />

Data operation has been performed.<br />

2. <strong>Manual</strong>ly from a macro via special Automation APIs. Refer to the <strong>QlikView</strong> API guide for details.<br />

3. External programs running <strong>QlikView</strong> in batch mode have a special Automation API to retrieve a list<br />

of fired alerts from a given context.<br />

The chain of events following the triggering of an alert check can be shown as follows:<br />

Alerts can be suspended after being fired until a change occurs. As an example it may be quite annoying to<br />

be reminded every time you open a document that your budget goal has been fulfilled. In that case you may<br />

set the alert to fire only once and then suspend itself until next month.<br />

As can be seen in the flowchart, each triggering of an alert initiates a chain of logical operations in the Qlik-<br />

View document. Typically <strong>QlikView</strong> has to perform the following major steps:<br />

149

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!