AckerId - property of the PmAlarmItem object
Description:
Identifier of the user making alarm acknowledgment.
Note:
Property access
for read and write.
This property is filled in automatically by the PROMOTIC system after acknowledgment of the alarm with the name of the logged-in user that acknowledged the alarm. If the acknowledgment is implemented through the local alarm viewer, then it corresponds to a local user. If the acknowledgment is implemented through the Web alarm viewer, then it corresponds to a network user. If the acknowledgment is implemented by the
Acknowledge method, then it corresponds to a local user.
If the user specified text (other than system text) input into the property is needed, then the following system behaviour is defined: if any (non empty) value is written into the property at the moment of the acknowledgment, then it is not overwritten by the system value.
If the alarm item is active, then the value can be changed anytime by writing into this property. The modified value will be written automatically to disk into the history when the alarm expires or after acknowledgment and also when the application is terminated.
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oAl = pMe.Pm("/Alarm");
var oAlItem = oAl.Item("Temperature");
var sId = oAlItem.AckerId;
Dim oAl
Set oAl = pMe.Pm("/Alarm")
Dim oAlItem
Set oAlItem = oAl.Item("Temperature")
Dim sId
sId = oAlItem.AckerId
History:
Pm8.00.12: After Web alarm acknowledgment the
AckerId property contained the local user instead on the Web user that confirmed the alarm.