updateProcessedDoc (NotesAgentContext - JavaScript)

Marks a document as processed by an agent.

Defined in

NotesAgentContext

Syntax

updateProcessedDoc(doc:NotesDocument) : void
Parameter Description
Document doc The document to be marked as processed. Cannot be null.

Usage

Use this method in conjunction with getUnprocessedDocuments, unprocessedFTSearch, and unprocessedSearch in an agent that runs on all new and modified documents.

This method marks a document so subsequent invocations of the same agent recognize the document as processed. You must explicitly mark a document with this method. No implicit marking occurs in a Java agent.

If a marked document is modified, it is unmarked and will be processed by the next invocation of the agent.

This method marks a document as processed only for the particular agent from which it is called. Using this method in one agent has no effect on the documents that another agent processes.

Language cross-reference

UpdateProcessedDoc method in LotusScript® NotesSession class

updateProcessedDoc method in Java Session class