- Start temporal
temporal server start-dev \ --dynamic-config-value "frontend.enableUpdateWorkflowExecution=true" \ --dynamic-config-value "frontend.enableUpdateWorkflowExecutionAsyncAccepted=true"
- In a different terminal, run the worker
go run examples/example/cmd/main.go worker
- In a different terminal, execute a workflow, signal, query, and update
# execute a workflow in the background go run examples/example/cmd/main.go create-foo --name test -d # signal the workflow go run examples/example/cmd/main.go set-foo-progress -w create-foo/test --progress 5.7 # query the workflow go run examples/example/cmd/main.go get-foo-progress -w create-foo/test # update the workflow go run examples/example/cmd/main.go update-foo-progress -w create-foo/test --progress 100