diff --git a/docs/develop/dotnet/workflows/versioning.mdx b/docs/develop/dotnet/workflows/versioning.mdx index 206e8472f5..ce0dd8dc88 100644 --- a/docs/develop/dotnet/workflows/versioning.mdx +++ b/docs/develop/dotnet/workflows/versioning.mdx @@ -49,7 +49,7 @@ Temporal's [Worker Versioning](/production-deployment/worker-deployments/worker- A Patch defines a logical branch in a Workflow for a specific change, similar to a feature flag. It applies a code change to new Workflow Executions while avoiding disruptive changes to in-progress Workflow Executions. -When you want to make substantive code changes that may affect existing Workflow Executions, create a patch. Note that there's no need to patch [Pinned Workflows](/worker-versioning). +When you want to make substantive code changes that may affect existing Workflow Executions, create a patch. Suppose you have an initial Workflow version called `PrePatchActivity`: diff --git a/docs/develop/go/workflows/versioning.mdx b/docs/develop/go/workflows/versioning.mdx index 82ec6935f5..046b3e11c1 100644 --- a/docs/develop/go/workflows/versioning.mdx +++ b/docs/develop/go/workflows/versioning.mdx @@ -42,7 +42,7 @@ Temporal's [Worker Versioning](/production-deployment/worker-deployments/worker- A Patch defines a logical branch in a Workflow for a specific change, similar to a feature flag. It applies a code change to new Workflow Executions while avoiding disruptive changes to in-progress Workflow Executions. -When you want to make substantive code changes that may affect existing Workflow Executions, create a patch. Note that there's no need to patch [Pinned Workflows](/worker-versioning). +When you want to make substantive code changes that may affect existing Workflow Executions, create a patch. Consider the following Workflow Definition: diff --git a/docs/develop/java/workflows/versioning.mdx b/docs/develop/java/workflows/versioning.mdx index a57d5d33ce..85bf5c3fc1 100644 --- a/docs/develop/java/workflows/versioning.mdx +++ b/docs/develop/java/workflows/versioning.mdx @@ -43,7 +43,7 @@ Temporal's [Worker Versioning](/production-deployment/worker-deployments/worker- A Patch defines a logical branch in a Workflow for a specific change, similar to a feature flag. It applies a code change to new Workflow Executions while avoiding disruptive changes to in-progress Workflow Executions. -When you want to make substantive code changes that may affect existing Workflow Executions, create a patch. Note that there's no need to patch [Pinned Workflows](/worker-versioning). +When you want to make substantive code changes that may affect existing Workflow Executions, create a patch. Consider the following Workflow Definition: diff --git a/docs/develop/php/workflows/versioning.mdx b/docs/develop/php/workflows/versioning.mdx index d720810e2b..c04f1e4228 100644 --- a/docs/develop/php/workflows/versioning.mdx +++ b/docs/develop/php/workflows/versioning.mdx @@ -47,7 +47,7 @@ Temporal's [Worker Versioning](/production-deployment/worker-deployments/worker- A Patch defines a logical branch in a Workflow for a specific change, similar to a feature flag. It applies a code change to new Workflow Executions while avoiding disruptive changes to in-progress Workflow Executions. -When you want to make substantive code changes that may affect existing Workflow Executions, create a patch. Note that there's no need to patch [Pinned Workflows](/worker-versioning). +When you want to make substantive code changes that may affect existing Workflow Executions, create a patch. Suppose you have an initial Workflow that runs `prePatchActivity`: diff --git a/docs/develop/python/workflows/versioning.mdx b/docs/develop/python/workflows/versioning.mdx index 7e9781e165..8cdec7a0f6 100644 --- a/docs/develop/python/workflows/versioning.mdx +++ b/docs/develop/python/workflows/versioning.mdx @@ -54,7 +54,7 @@ Temporal's [Worker Versioning](/production-deployment/worker-deployments/worker- A Patch defines a logical branch in a Workflow for a specific change, similar to a feature flag. It applies a code change to new Workflow Executions while avoiding disruptive changes to in-progress Workflow Executions. -When you want to make substantive code changes that may affect existing Workflow Executions, create a patch. Note that there's no need to patch [Pinned Workflows](/worker-versioning). +When you want to make substantive code changes that may affect existing Workflow Executions, create a patch. Suppose you have an initial Workflow version called `pre_patch_activity`: diff --git a/docs/develop/ruby/workflows/versioning.mdx b/docs/develop/ruby/workflows/versioning.mdx index fac41d88f4..f89b571c20 100644 --- a/docs/develop/ruby/workflows/versioning.mdx +++ b/docs/develop/ruby/workflows/versioning.mdx @@ -44,7 +44,7 @@ Temporal's [Worker Versioning](/production-deployment/worker-deployments/worker- A Patch defines a logical branch in a Workflow for a specific change, similar to a feature flag. It applies a code change to new Workflow Executions while avoiding disruptive changes to in-progress Workflow Executions. -When you want to make substantive code changes that may affect existing Workflow Executions, create a patch. Note that there's no need to patch [Pinned Workflows](/worker-versioning). +When you want to make substantive code changes that may affect existing Workflow Executions, create a patch. Suppose you have an initial Workflow that runs `PrePatchActivity`: diff --git a/docs/develop/typescript/workflows/versioning.mdx b/docs/develop/typescript/workflows/versioning.mdx index 4741ab3268..6a557c6a1f 100644 --- a/docs/develop/typescript/workflows/versioning.mdx +++ b/docs/develop/typescript/workflows/versioning.mdx @@ -43,7 +43,7 @@ Support for the experimental Worker Versioning method before 2025 will be remove A Patch defines a logical branch in a Workflow for a specific change, similar to a feature flag. It applies a code change to new Workflow Executions while avoiding disruptive changes to in-progress Workflow Executions. -When you want to make substantive code changes that may affect existing Workflow Executions, create a patch. Note that there's no need to patch [Pinned Workflows](/worker-versioning). +When you want to make substantive code changes that may affect existing Workflow Executions, create a patch. Suppose you have an initial Workflow that runs `activityA`: diff --git a/docs/encyclopedia/workflow/patching.mdx b/docs/encyclopedia/workflow/patching.mdx index 2989699d94..ea429927df 100644 --- a/docs/encyclopedia/workflow/patching.mdx +++ b/docs/encyclopedia/workflow/patching.mdx @@ -19,7 +19,7 @@ This page discusses [Patching](#patching). A Patch defines a logical branch in a Workflow for a specific change, similar to a feature flag. It applies a code change to new Workflow Executions while avoiding disruptive changes to in-progress Workflow Executions. -When you want to make substantive code changes that may affect existing Workflow executions, create a patch. Note that there's no need to patch [Pinned Workflows](/worker-versioning). +When you want to make substantive code changes that may affect existing Workflow executions, create a patch. ### Detailed Description of the `patched()` Function