Skip to main content

Module version

Module version 

Source
Expand description

Workflow versioning types.

BDEW publishes format updates approximately twice per year (1 April and 1 October). Each format version has an effective date that is used as the versioning key — not semver — because business semantics change on BDEW release boundaries, not on library release boundaries.

A WorkflowId permanently identifies the combination of workflow name and format version under which a process was started. Events carry this ID so replay and migration tooling can route to the correct logic.

Structs§

FormatVersion
A BDEW EDI@Energy format version effective-date identifier.
FormatVersionError
Error returned when a string does not match the FV<YYYY>-<MM>-<DD> pattern.
WorkflowId
Uniquely identifies a versioned workflow definition.

Enums§

WorkflowVersionPolicy
Declares which BDEW format versions a Workflow implementation can accept over the lifetime of in-flight processes.