FAQ: Alarm severity change doesn't has effect on severity assignment in alarm list

This behaviour is as designed:

  • send an alarm e.g.:

{
“source”: {
“id”: “123456” },
“type”: “TestAlarm2”,
“text”: “I am an alarm 2”,
“severity”: “MINOR”,
“status”: “ACTIVE”,
“time”: “{{isoTime}}”
}

Result: this alarm is shown in “MINOR” section

  • change “severity”: “MINOR” to “severity”: “MAJOR”

  • send alarm again

Result: this alarm is still shown in “MINOR” section enlarged with +1, not in “MAJOR” section, because it is n still the same alarm

Solution proposal:

  • when you change “severity”, also change alarm type e.g. “type”: “TestAlarm2”

send alarm again

Result: this alarm is shown in “MAJOR” section

Find more Cumulocity IoT FAQs here:
http://techcommunity.softwareag.com/web/guest/pwiki/-/wiki/Main/Cumulocity+IoT+FAQs

Check out the Cumulocity IoT Tips & tricks here:
http://techcommunity.softwareag.com/web/guest/pwiki/-/wiki/Main/Cumulocity+IoT+Tips+and+Tricks