MarkLogic 10 Product Documentation
alert:action-set-description

alert:action-set-description(
   $action as element(alert:action),
   $description as xs:string
) as element(alert:action)

Summary

This function returns the action with the description of the action updated.

Parameters
$action The representation of an action.
description The description value to set for the given action.

Example

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

  alert:action-set-description($action, "Sends basic SMS text message")
  => Returns the XML representation of the action with the 
     description updated to "Sends basic SMS text message"
  
Powered by MarkLogic Server | Terms of Use | Privacy Policy