Well, within an alert, you can define a thing called an "event" so
that if the user clicks the cell, DeepSee automatically does
something. One of the options is to run a COS script, which means it
can do anything. I just tried it and successfully wrote to a global,
as simple test.
These events are documented in the alerts chapter of the Analyzer
guide, under "user options."
There is also a buried, undocumented, untested option called
Performance Alerts. I believe the idea is that you define an alert
that uses a KPI (or maybe some other value), and you use the Scheduler
to periodically run the alert to see if your alert values are met.
(You have to edit the Shortcut options in order to add the Performance
Alert feature, which I looked at only briefly.) The Scheduler,
however, currently has a bug that prevented me from scheduling
anything at all, which render this whole idea academic for now.
It seems entirely reasonable to support background processing in this
manner, though.
***
Also, you can use the %BI.SOAP classes to access values (including
KPIs) programmatically, so that might be your best bet. A KPI is just
a measure that's been "promoted"--you can write it as a COS
expression, and you can include a DeepSee-type filter if it needs to
apply to some subset.
On Nov 9, 3:39 pm, "Liang (Simon) Sha" <
simon....@intersystems.com>
wrote:
> Hi folks,
>
> Is it possible to send an alert request to an Ensemble business process
> from a dashboard using data alerts? E.g. if value in a cell exceeds
> pre-defined threshold, send a request to Business Process which then
> forwards the request to Workflow... I see that you can't use custom