Loading TOC...

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" )
  

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