Loading TOC...

MarkLogic 9 Product Documentation
alert.configSetTriggerIds

alert.configSetTriggerIds(
   config as Object,
   ids as (Number|String)[]
) as Object

Summary

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.

Example

  var alert = require("/MarkLogic/alert.xqy");

  alert.configSetTriggerIds(
         alert.configGet("http://acme.com/alert/message-board"),
         ["123456789", "987654321"])     
  

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.