# system.tag.editAlarmConfig

**URL:** <https://forum.inductiveautomation.com/t/system-tag-editalarmconfig/18340>\
**Category:** Ignition\
**Created:** [June 7, 2018, 12:03pm UTC](https://forum.inductiveautomation.com/t/system-tag-editalarmconfig/18340 "2018-06-07T12:03:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![r.lebohec](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/r.lebohec/32/3704_2.png) [@r.lebohec](https://forum.inductiveautomation.com/u/r.lebohec)\
**Post date:** [June 7, 2018, 12:03pm UTC](https://forum.inductiveautomation.com/t/system-tag-editalarmconfig/18340/1 "2018-06-07T12:03:31Z")

</div>

Hi Community,

As the user manual said [system.tag.editAlarmConfig - Ignition User Manual 7.9 - Ignition Documentation](https://docs.inductiveautomation.com/display/DOC79/system.tag.editAlarmConfig)

It's possible to edit an alarm configuration. In my case, the alarm to edit is associate to an member of an UDT instance (platform 7.9.8 ignition).

My alarm has the property 'enabled' and 'priority' overrides and 'display path' has an expression defined in UDT definition.

#CASE1

> # Build a list of tag paths
> 
> tagPaths = ["Tanks/Tank\_1/level\_PV""]
> 
> # Build a dictionary of alarms
> 
> alarmConfig = {"Alarm":[["priority","Value",None]]}
> 
> #Edit the alarm configuration.  
> system.tag.editAlarmConfig(tagPaths, alarmConfig)

In this Case 1, this update only remove the override of 'priority' and 'enable' stay override and 'display path' is steal the same (That's correct)

#CASE2

> # Build a list of tag paths
> 
> tagPaths = ["Tanks/Tank\_1/level\_PV""]
> 
> # Build a dictionary of alarms
> 
> alarmConfig = {"Alarm":[["priority","Value","Critical"]]}
> 
> #Edit the alarm configuration.  
> system.tag.editAlarmConfig(tagPaths, alarmConfig)

In this Case 2, this update create a basic alarm and erase all overrides and UDT expressions (That's very strange)

I would like just erase 'priority' override and if my UDT 'priority' definition isn't what i want just override the 'priority' property.

Thanks for your reply
