alert:config-set-trigger-ids( $config as element(alert:config), $ids as xs:unsignedLong* ) as element(alert:config)
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. |
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)