LastRun (Agent - Java™) Read-only. The date that an agent last ran. Defined in Agent Data type DateTime Syntax public DateTime getLastRun() throws NotesException Usage If the script has never been run before, this property returns null. Example