Skip to main content

Interface: WorkflowSerializationContext

common.WorkflowSerializationContext

Context provided to data converters for payloads owned by a workflow.

This is used when converting payloads sent to or received from a workflow. If a workflow interacts with a child workflow or an external workflow, this context refers to that target workflow.

Serialization context is an experimental feature and may change.

Properties

namespace

namespace: string

Namespace of the workflow that owns the payload.


type

type: "workflow"

Always 'workflow' for workflow-owned payloads.


workflowId

workflowId: string

Workflow ID of the workflow that owns the payload.