Represents an agent.
public class Agent extends Base
Contained by: AgentContext and Database
Contains: Database and DateTime
Comment through getComment
CommonOwner through getCommonOwner
HttpURL through getHttpURL
IsActivatable through isActivatable
IsEnabled through isEnabled and setEnabled
IsNotesAgent through isNotesAgent
IsPublic through isPublic
IsWebAgent through isWebAgent
LastRun through getLastRun
LockHolders through getLockHolders
Name through getName
NotesURL through getNotesURL
OnBehalfOf through getOnBehalfOf
Owner through getOwner
ParameterDocID through getParameterDocID
Parent through getParent
Query through getQuery
ServerName through getServerName and setServerName
Target through getTarget
Trigger through getTrigger
There are two ways to access an agent:
System.out writes to an Events document ("Miscellaneous Events" view) in the log.nsf database where the code executes for:
See examples