system.alarm.acknowledge
This function is used in Python Scripting.
Description
Acknowledges any number of alarms, specified by their event ids. The event id is generated for an alarm when it becomes active, and is used to identify a particular event from other events for the same source. The alarms will be acknowledged by the logged in user making the call. Additionally, acknowledgement notes may be included and will be stored along with the acknowledgement.
This function uses different parameters based on the scope of the script calling it. Both versions are listed below.
Client Permission Restrictions
Permission Type: Alarm Management
Client access to this scripting function is blocked to users that do not meet the role/zone requirements for the above permission type. This function is unaffected when run in the Gateway scope.
Syntax - Client Scripts
system.alarm.acknowledge(alarmIds, [notes])
Parameters
| Type | Parameter | Description |
|---|---|---|
| String[] | alarmIds | List of alarm event ids (uuids) to acknowledge. |
| String | notes | Optional. Notes that will be stored on the acknowledged alarm events. |
Returns
Nothing