The following new NotesAgent methods run an agent passing a saved or unsaved in-memory document to the DocumentContext property of the called agent:
JavaScript methods:
NotesAgent.runWithDocumentContext(doc:NotesDocument) : void
NotesAgent.runWithDocumentContext(doc:NotesDocument, noteID:string) : void
Java™ methods:
public void Agent.runWithDocumentContext(Document doc)
public void Agent.runWithDocumentContext(Document doc, String noteID)
LotusScript® methods:
NotesAgent.RunWithDocumentContext(doc As NotesDocument, noteID As String) As Integer
public void Agent.runWithDocumentContext(Document doc, String noteID)
Имхо, польза в возможности не сохранять документ, и в нем получать результат работы агента (тож без сейва). Проверил - работает.
Ну а реализация есть и под LotusScript (не проверял).