cpf.documentSetProcessingStatus( doc as String, processing-status as String ) as null
Set the document's processing status to the given value.
Parameters | |
---|---|
doc | The URI of the document. |
processing-status | The new processing status, one of "created", "updated", "deleted", "active", or "done". |
const cpf = require('/MarkLogic/cpf/cpf'); declareUpdate(); cpf.documentSetProcessingStatus('/myDocs/example.xml', 'deleted');
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.