![]() ![]() |
Reference Type: Supported, Category: Alerts, ICR#: 10081
The DELETEA^XQALERT API deletes (clears) all alerts with the same software application
identifier, for the current user (XQAKILL=1) or all recipients (XQAKILL=0 or
XQAKILL undefined). The current user (as identified by the value of
DUZ) does
not need to be a recipient of an alert; however, in that case, only a value of
zero (0 or undefined) for XQAKILL makes sense.
One example of the use of
DELETEA^XQALERT is when a troublesome condition has been resolved. You
can use this API to delete any unprocessed alerts associated with the
condition. It deletes all alerts whose software application identifiers
match the software application identifier you pass in the XQAID input
variable (multiple alerts
can potentially share the same software application identifier).
REF:
For more information on software application identifiers, see the
"Package Identifier versus Alert Identifier" topic in the Kernel 8.0 &
Kernel Toolkit 7.3 Developer's Guide.
DELETEA^XQALERT
Make sure to perform the following steps before calling this API:
XQAID: |
(required) All alerts whose software application identifier
matches the value of this input parameter are deleted, for the
alert recipients designated by the XQAKILL input
variable.
|
XQAKILL: |
(optional) XQAKILL determines how the alert is deleted. If XQAKILL is:
|
none. |
|