alert.actionGetModuleDb

alert.actionGetModuleDb(
   action as Object
) as (Number|String)

Summary

This function returns the module database of a given action.

Parameters
action The representation of an action.

Example

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

   alert.actionGetModuleDb(
       alert.getActions("http://acme.com/alert/message-board", ["sms"])[0])
  
Powered by MarkLogic Server | Terms of Use | Privacy Policy