Loading TOC...

MarkLogic Server 11.0 Product Documentation
alert:config-set-trigger-ids

alert:config-set-trigger-ids(
   $config as element(alert:config),
   $ids as xs:unsignedLong*
) as element(alert:config)

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

  xquery version "1.0-ml";
  import module namespace alert = "http://marklogic.com/xdmp/alert" 
		  at "/MarkLogic/alert.xqy";

  let $ids := (xs:unsignedLong(123456789), xs:unsignedLong(987654321))
  return alert:config-set-trigger-ids($config, $ids)
  

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