alert.configSetTriggerIds( config as Object, ids as (Number|String)[] ) as Object
This function sets the trigger IDs in the specified alerting configuration.
Parameters | |
---|---|
config | The specified alerting configuration. |
ids | The trigger IDs of the specified configuration. |
const alert = require("/MarkLogic/alert.xqy"); alert.configSetTriggerIds( alert.configGet("http://acme.com/alert/message-board"), ["123456789", "987654321"])
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.