Response
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), ()
)
)
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.