MarkLogic Server 11.0 Product Documentation
info:ticket

info:ticket(
   $ticket-id as xs:string+
) as element(info:ticket)+

Summary

[DEPRECATED] This function returns a ticket element containing the status information for a long-running process.

Parameters
ticket-id The id of the ticket associated with the long-running process.

Example

  xquery version "1.0-ml"; 

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

  let $ticket := info:load("C:\docs\mydocs", (), (), "testDB")

  return (
    "Loaded the testDB database with the files from",
    fn:data(info:ticket($ticket)//directory) )

  (: Returns the directory that was loaded into the testDB database. :)
     
Powered by MarkLogic Server | Terms of Use | Privacy Policy