SavedData (AgentContext - Java)

Read-only. A document that an agent uses to store information between invocations. The agent can use the information in this document the next time the agent runs.

Defined in

AgentContext

Data type

Document

Syntax

public Document getSavedData()
    throws NotesException

Usage

The getSavedData document is created when you save an agent, and it is stored in the same database as the agent. The document replicates, but is not displayed in views.

Each time you edit and re-save an agent, its getSavedData document is deleted and a new, blank one is created. When you delete an agent, its getSavedData document is deleted.

Example