MarkLogic 9 Product Documentation
infodev:ticket-set-status

infodev:ticket-set-status(
   $ticket-id as xs:string,
   $status as xs:string
) as empty-sequence()

Summary

[DEPRECATED] This function sets the status of the specified ticket.

Parameters
ticket-id The id of the ticket to which to set the status.
status The status to set on the ticket. The valid status values are "aborted", "active", "cancelled", "cleared", "completed", "inactive", "unloading", "unloaded", and "unload-aborted".

Example

  xquery version "1.0-ml"; 

  import module namespace infodev = "http://marklogic.com/appservices/infostudio/dev"
      at "/MarkLogic/appservices/infostudio/infodev.xqy";

  infodev:ticket-set-status("/tickets/ticket/13580249356496860619", "active")

  (: Sets the status of the specified ticket to "active." :)
    
Powered by MarkLogic Server | Terms of Use | Privacy Policy