MarkLogic 10 Product Documentation
cpf:document-get-processing-status

cpf:document-get-processing-status(
   $doc as xs:string
) as xs:string?

Summary

Determine the document's current processing status, if any. The status will be one of "created", "updated", "deleted", "active", or "done".

Parameters
doc The URI of the document.

Example

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

  cpf:document-get-processing-status( "/myDocs/example.xml" )
  
Powered by MarkLogic Server | Terms of Use | Privacy Policy