Asynchronously logs a request event. The events are kept in a message queue and inserted in bulk after a short period.

Note that the message queue is non-persistent. Learn more about how the AsynchronousLogging API works.

Input parameters

Instant: mandatory, Date Time type.
Date and time when the event occurred.

RequestKey: mandatory, Text type.
Name of the event.

ModuleKey: mandatory, Text type.
Unique key of the module where the event occurred. Use the GetEspace action with the GetOwnerEspaceIdentifier() built-in function to get this information.

ModuleName: mandatory, Text type.
Name of the module where the event occurred. Use the GetEspace action with the GetOwnerEspaceIdentifier() built-in function to get this information.

ApplicationKey: mandatory, Text type.
Unique key of the application where the event occurred. Query the 'Application' system entity to get this information.

ApplicationName: mandatory, Text type.
Name of the module where the event occurred. Query the 'Application' system entity to get this information.

EventDetails: optional, Text type.
Text with event details. Built-in events are stored in JSON array format.

Output parameters

None.

Example

In the below example we log a custom event when the Save action is executed.

See Also

Overview of the AsynchronousLogging API | About APIs