UpdateProcessedDoc (NotesSession - LotusScript®)

Marks a document as processed by an agent.

Defined in

NotesSession

Syntax

Call notesSession .UpdateProcessedDoc( notesDocument )

Parameters

notesDocument

The document to be marked as processed.

Usage

You use this method in conjunction with the UnprocessedDocuments property, the UnprocessedFTSearch method, the UnprocessedFTSearchRange method, and the UnprocessedSearch method in NotesDatabase in an agent that runs on all new and modified documents, newly received mail documents, newly modified documents, and pasted 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 LotusScript® 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.

Example