Apama 10.7.2 | Connecting Apama Applications to External Components | Standard Connectivity Plug-ins | The Cumulocity IoT Transport Connectivity Plug-in | Using alarms | Updating an existing alarm
 
Updating an existing alarm
You can update the text, status and severity fields.
send Alarm("<ALARM_ID>","c8y_SampleAlarm","<SOURCE>",<TIME>,
"Alarm Updated", "<STATUS>","<SEVERITY>",1,new dictionary<string,any>) to Alarm.SEND_CHANNEL;
Where
*<ALARM_ID> is the identifier of the previously created alarm. The presence of <ALARM_ID> indicates that the request is for updating an existing alarm.