LetsFlow
  • Introduction
  • Tutorial
    • The basics
    • A handshake
    • A conversation
    • A proper introduction
    • Group meeting
    • Quote
  • Cookbook
  • ENGINE
    • Installation
    • Authentication
    • API
    • Services
      • Configuration
      • Messaging
        • ZeroMQ
        • AMQP 0-9-1
        • Webhook
      • Engine service
  • Integration
    • Frontend
      • React
      • Angular
      • Vue
      • Svelte
    • Backend
  • Reference
    • Scenario
      • Actor
      • Action
        • Update instruction
      • State
        • Transition
          • Log
        • Notify
      • Data function
    • Schema
    • Process
      • Current state
      • Previous log
      • Prediction
      • Events
        • Instantiate event
        • Action event
        • Timeout event
  • Libraries
    • Core library
    • JMESPath
    • Test suite
      • Given
      • When
      • Then
        • Assert state
        • Assert actor
        • Assert variable
        • Assert service
        • Assert event
      • Customize
  • Advanced topics
    • Deep integration
    • Decentralized workflows
    • Custom JMESPath functions
    • Custom YAML tags
Powered by GitBook
On this page
  • Properties
  • title
  • description
  • if
  • Additional properties

Was this helpful?

  1. Reference
  2. Scenario
  3. State
  4. Transition

Log

PreviousTransitionNextNotify

Last updated 2 months ago

Was this helpful?

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

Defaults to the title of the current action.

description

string or

Defaults to the description of the current action.

if

boolean or

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

Additional properties

You may add custom properties to the log definition. These can be any value or . These properties will be included in the log entry.

data function
data function
data function
data function