Trigger (NotesAgent - JavaScript)

Read-only. Indicates when this agent runs.

Defined in

NotesAgent

Syntax

getTrigger() : int

Legal value

  • 0 TRIGGER_NONE Not used
  • 1 TRIGGER_SCHEDULED More than once a day, Daily, Weekly, Monthly, or Never
  • 2 TRIGGER_AFTER_MAIL_DELIVERY After new mail has arrived
  • 3 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 modified
  • 6 TRIGGER_BEFORE_MAIL_DELIVERY Before new mail arrives
  • 8 TRIGGER_SERVERSTART When server starts