This is the documentation for the development version. There are no official binaries for it; build it from the source code in git. Download links on these pages work only after the release. For the current release, see version 7.0.

LoadEvent

LoadEvent(eventId): Event | null

Will load event (from the event log write queue or from the database) and return Event object or NULL if event not found. If the script is executed on behalf of a user without the "View event log" system access right, NULL is returned.

Table 1. Parameters

eventId

Id of the event to be loaded from database

Return

Event loaded from database or NULL if event not found.

>>>event = LoadEvent(315);
>>>event.id;
315