Optional
__cloudevent?: CloudEvent<Record<string, any>>Optional
__cumulativeOptional
__machineOptional
__orchestrationOptional
__traceTData The type of additional data fields that can be added to the basic context structure.
Attributes:
__traceId
: An optional OpenTelemetry trace ID that uniquely identifies the workflow's execution trace,
facilitating the tracing of transactions and operations across distributed systems.__machineLogs
: An array of logs capturing a chronological record of all significant state updates and
actions taken by the state machine. Primarily used for debugging and audit purposes.__cloudevent
: An optional field storing the most recently received CloudEvent, which standardizes event
data across services, platforms, and systems, promoting interoperability.__orchestrationTime
: Records timing details of significant events within the state machine's operation,
tracking the start times and durations, useful for performance analysis and optimization.__cumulativeExecutionUnits
: Tracks the computational effort expended by the state machine, recording the
type of event and the computation units consumed, aiding in resource management
and operational analysis.Generated using TypeDoc
Represents the standard context for a state machine, incorporating critical metadata that enhances monitoring and analysis of the state machine's operation. This context is designed to be extended with specific state data for a customized state machine context.