Log

LetsFlow will log state transitions appending log entries to the previous property of the process. By default, action transitions are logged and timeout transitions are not.

A log entry contains a title, description, timestamp, and actor. The title and description are determined by the log property of the state transition in the scenario.

Data functions in the log property are evaluated after applying the update instructions.

Properties

title

string or data function

Defaults to current.action.title.

description

string or data function

Defaults to current.action.description.

if

boolean or data function

Whether a log entry is appended to the previous array for this state transition.

Last updated

Was this helpful?