Events

LetsFlow uses an event-sourcing model. Every action is recorded as an event, regardless of whether it triggers a state transition. The current state of a process can always be reconstructed by replaying the sequence of events on the scenario.

Each event is hashed and the hash of the previous event is added to the event data, creating a hash chain.

Instantiate event

The first event of the process is an instantiate event.

Instantiate event

Action event

Whenever an action is executed, an action event is added to the event chain. The event contains the key of the executed action, the actor that executed the action, and the given response.

Action event

Timeout event

When a timeout transition is triggered, a timeout event is added to the event chain.

Timeout event

Last updated

Was this helpful?