Trigger (NotesAgent - JavaScript™)
Read-only. Indicates when this agent runs.
Defined in
NotesAgentSyntax
getTrigger() : int
Legal value
0 TRIGGER_NONE
Not used1 TRIGGER_SCHEDULED
More than once a day, Daily, Weekly, Monthly, or Never2 TRIGGER_AFTER_MAIL_DELIVERY
After new mail has arrived3 TRIGGER_DOC_PASTED
When documents are pasted"4 TRIGGER_MANUAL
Action menu selection," "Agent list selection"5 TRIGGER_DOC_UPDATE
After documents are created or modified6 TRIGGER_BEFORE_MAIL_DELIVERY
Before new mail arrives8 TRIGGER_SERVERSTART
When server starts