LastRun (NotesAgent - JavaScript™) Read-only. The date that an agent last ran. Defined inNotesAgent Syntax getLastRun() : NotesDateTime UsageIf the script has never been run before, this property returns null.