# Possible error in temporal course Versioning Workflows with TypeScript

**URL:** <https://community.temporal.io/t/possible-error-in-temporal-course-versioning-workflows-with-typescript/19491>\
**Category:** Training\
**Tags:** typescript-sdk\
**Created:** [April 17, 2026, 12:45am UTC](https://community.temporal.io/t/possible-error-in-temporal-course-versioning-workflows-with-typescript/19491 "2026-04-17T00:45:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rafar](https://avatars.discourse-cdn.com/v4/letter/r/bcef8e/32.png) [@rafar](https://community.temporal.io/u/rafar)\
**Post date:** [April 17, 2026, 12:45am UTC](https://community.temporal.io/t/possible-error-in-temporal-course-versioning-workflows-with-typescript/19491/1 "2026-04-17T00:45:40Z")

</div>

Hello.

Today I’ve begun the course Versioning Workflows with TypeScript. In the section “Versioning Workflows with the Patching API” ([https://temporal.talentlms.com/plus/my/training/171/units/2925](https://temporal.talentlms.com/plus/my/training/171/units/2925)) there is some text do not make sense. The text is the following:

> If the Workflow is not currently replaying an existing history, then the `patched` function will always return `true`. […] However, while the Workflow is replaying an existing history, and the history includes a `patched` call with the same `patchId` in the _current_ Workflow code, then the `patched` function returns `true`.

The use of the “However” word makes me think the following sentence will have a different conclusion than the previous.

However, I understand I am beginning and may be clear for me later. If I am wrong, I can delete this post if you tell me to do so.

Thank you in advance.

---

<div class="post-metadata">

**Author:** ![bmcqueen](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/bmcqueen/32/8233_2.png) [@bmcqueen](https://community.temporal.io/u/bmcqueen)\
**Post date:** [April 28, 2026, 5:40pm UTC](https://community.temporal.io/t/possible-error-in-temporal-course-versioning-workflows-with-typescript/19491/2 "2026-04-28T17:40:56Z")

</div>

Hello Rafar!

I understand the confusion caused by the `However`. In this case, I believe it’s attempting to differentiate between a Workflow that is not replaying and a Workflow that is replaying rather than a change in the return value of `patched`.

If you’d like to confirm your understanding of Workflow Versioning via `patched`, I can certainly help you with that!
