MarkLogic Server 11.0 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

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

  alert.configSetTriggerIds(
         alert.configGet("http://acme.com/alert/message-board"),
         ["123456789", "987654321"])     
  
Powered by MarkLogic Server | Terms of Use | Privacy Policy