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?