Table of Contents

Enum VersioningBehavior

Namespace
Temporalio.Common
Assembly
Temporalio.dll

Specifies when a workflow might move from a worker of one Build ID to another.

public enum VersioningBehavior

Fields

AutoUpgrade = 2

The workflow will automatically move to the latest version (default Build ID of the task queue) when the next task is dispatched.

Pinned = 1

The workflow will be pinned to the current Build ID unless manually moved.

Unspecified = 0

An unspecified versioning behavior. By default, workers opting into worker versioning will be required to specify a behavior. See WorkerDeploymentOptions.

Remarks

WARNING: Deployment-based versioning is experimental and APIs may change.