Loading TOC...

MarkLogic 10 Product Documentation
cpf.documentGetProcessingStatus

cpf.documentGetProcessingStatus(
   doc as String
) as 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

const cpf = require('/MarkLogic/cpf/cpf');

cpf.documentGetProcessingStatus('/myDocs/example.xml');
   

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