Loading TOC...

MarkLogic 10 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." :)
    

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.