Can not delete alerting config while triggers are associated. Use alert:config-set-trigger-ids($uri, ()) or alert:remove-triggers($uri) first.: variable1
If the triggers were created with alert:create-triggers($uri)
then they should be removed with alert:remove-triggers($uri)
before deleting the config. If the triggers were created in some other way, the config should be disassociated from them withbefore deleting the config.
alert:config-insert( alert:config-set-trigger-ids( alert:config-get($uri), () ) )