GETACKNOWLEDGMENT
GETACKNOWLEDGMENT(alarmid AS STRING [, username AS STRING]) AS BOOLEAN
Tests and returns the received acknowledgments.
When at least one acknowledgment has been received, the function returns TRUE and updates the parameters <alarmid> and <username> from the oldest waiting acknowledgment in the buffer: <alarmid> will contain the identifier of the acknowledged alarm, <username> (optional) will return the name of the user having acknowledged the alarm, if this last is available.
The next call of the function will return the next waiting acknowledgment.