Hi Dojo,
Does someone has example code for taking ownership of an alarm?
Tom Waterbley [SLC] [DevOps Catalyst] Answered question 22nd March 2023
Hi Jens, the following method can be used to acknowledge the alarm. If a user launches the script manually or attaches to it interactively, that user will become the owner of the alarm. If the script runs in the background, the alarm owner will become 'Administrator'.
engine.AcknowledgeAlarm(dataMinerID, alarmID, comment);
Tom Waterbley [SLC] [DevOps Catalyst] Edited answer 22nd March 2023