Call another agent to run through LotusScript

Allows you to call a specific agent via LotusScript. The example below was inserted in the "Initialize" event of a view to refresh the docs.

Dim s As New NotesSession
Dim db As NotesDatabase
Dim agent As NotesAgent
Set db = s.CurrentDatabase
Set agent = db.GetAgent("(ReconViewRefreshFlags)")
Print "Running refresh agent"
Call agent.Run

Posted by fbrefere001 on Friday October 5, 2001