MarkLogic Server 11.0 Product Documentation
alert.actionGetDescription

alert.actionGetDescription(
   action as Object
) as String

Summary

This function returns the description of a given action.

Parameters
action The representation of an action.

Example

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

  alert.actionGetDescription(
        alert.getActions("http://acme.com/alert/message-board", ["sms"])[0])

  => "Sends basic SMS text message"
  
Powered by MarkLogic Server | Terms of Use | Privacy Policy