Get the information of a new alarm if CUSTOM1 field contains 'SEND'

I want to send a message (SMS, email, pager...) when a new alarm is detected, the message of the alarm should only be sent if the 'CUSTOM1' field of the alarm table contains the text "SEND" and it must be sent once. 
How to get the information of a new alarm (TAG, DESCRIPTION) according to the criteria above?

Parents
  • You could write an alarm event handler routine in cicode. This script would then use the alarm event queue to wait for new alarm events (on, ack, off etc.). You can use parameters to enable the alarm event queue and specify a format that includes the alarm properties that you want to query (like tag, name, description, custom fields etc.).
    Please consult the Help on these topics:
    - cicode function AlarmEventQue()
    - parameter [Alarm]EventQue
    - parameter [Alarm]EventFmt
Reply
  • You could write an alarm event handler routine in cicode. This script would then use the alarm event queue to wait for new alarm events (on, ack, off etc.). You can use parameters to enable the alarm event queue and specify a format that includes the alarm properties that you want to query (like tag, name, description, custom fields etc.).
    Please consult the Help on these topics:
    - cicode function AlarmEventQue()
    - parameter [Alarm]EventQue
    - parameter [Alarm]EventFmt
Children
No Data