Skip to content

Cross-cutting data attached to a workflow instance by WorkflowExecutionListener should survive process restarts #1645

Description

@mcruzdev

What would you like to be added

Cross-cutting data attached to a workflow instance by WorkflowExecutionListener should survive process
restarts when persistence is enabled.

Why is this needed

When a workflow instance is resumed after a JVM restart, any data that lifecycle listeners
previously associated with that instance is lost. This breaks use cases where listeners need
continuity across restarts — such as keeping a distributed trace connected across the full lifetime
of a workflow, maintaining a correlation ID. There is currently no
supported way to preserve this kind of data through a restart without polluting the workflow's own
data model with infrastructure concerns.

Metadata

Metadata

Assignees

No one assigned

    Labels

    javaPull requests that update java code

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions