I just would like to know how I can clear an alarm through scripting.
Hi Sudipta.trpathy
You could try using system.alarm.acknowledge which allow you to ackknowledge any number of alarms, specified by their event ids. https://docs.inductiveautomation.com/display/DOC80/system.alarm.acknowledge
Thanks,
Anthony