Apama 10.3.1 | Apama Documentation | 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,{}) to Alarm.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.

Copyright © 2013-2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.