MarkLogic 9 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)
  
Powered by MarkLogic Server | Terms of Use | Privacy Policy