alert.actionGetOptions( action as Object ) as Object
This function returns the options of a given action.
Parameters | |
---|---|
action | The representation of an action. |
const alert = require("/MarkLogic/alert.xqy"); alert.actionGetOptions( alert.getActions("http://acme.com/alert/message-board", ["sms"])[0])