Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions docs/encyclopedia/workflow-message-passing/sending-messages.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -88,21 +88,6 @@ Signal-With-Start is a great tool for lazily initializing Workflows. When you se

### Sending Updates {#sending-updates}

:::note

To use the Workflow Update feature in versions prior to v1.25.0, it must be manually enabled.

Set the [frontend.enableUpdateWorkflowExecution](https://github.com/temporalio/temporal/blob/main/common/dynamicconfig/constants.go) and [frontend.enableUpdateWorkflowExecutionAsyncAccepted](https://github.com/temporalio/temporal/blob/main/common/dynamicconfig/constants.go) dynamic config values to `true`.

For example, with the Temporal CLI, run these commands:

```command
temporal server start-dev --dynamic-config-value frontend.enableUpdateWorkflowExecution=true
temporal server start-dev --dynamic-config-value frontend.enableUpdateWorkflowExecutionAsyncAccepted=true
```

:::

Updates can be sent from a Temporal Client or the Temporal CLI to a Workflow Execution. This call is synchronous and will call into the corresponding Update handler. If you’d rather make an asynchronous request, you should use Signals.

In most languages (except Go), you may call `executeUpdate` to complete an Update and get its result.
Expand Down
9 changes: 0 additions & 9 deletions sample-apps/go/features/updates/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,6 @@ It contains a single count integer variable. The Update handler adds the new int
The second Workflow shows how to validate the Update and then handle it.
It also contains a single count integer variable, but the validator function rejects the new integer if it is not positive.

Note that you may need to enable Updates if you are using a Temporal Server version that is older than 1.21.
For example, when using the Temporal CLI dev server:

```
temporal server start-dev --dynamic-config-value frontend.enableUpdateWorkflowExecution=true
```

Update validator functions may not work with Server versions older than 1.21.

### How to run the sample

Run the Worker:
Expand Down
Loading