Loading TOC...

MarkLogic Server 11.0 Product Documentation
alert:action-get-module

alert:action-get-module(
   $action as element(alert:action)
) as xs:string

Summary

This function returns the module of a given action.

Parameters
$action The representation of an action.

Example

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

  let $action := alert:get-actions("my-alert-config-uri", "my-action")
  return
  alert:action-get-module($action)
  => /modules/sms.xqy (or whatever is the path to the module)
  

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