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


Data type



public Document getSavedData()
    throws NotesException


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.