How to enable updatemethod in temporal-java-samples purchase workflow

  1. The documentation suggests to add this config-
    frontend.enableUpdateWorkflowExecution:
    - value: true

But where to add this exactly?

  1. Also, how to enable it for a namespace in a local temporal deployment (not cluster based) ?

error for reference -

Caused by: io.grpc.StatusRuntimeException: UNIMPLEMENTED: unknown method UpdateWorkflowExecution for service temporal.api.workflowservice.v1.WorkflowService

adding it to dynamic config file worked for me

In case of temporal local, it is to be added in

  • DYNAMIC_CONFIG_FILE_PATH=config/dynamicconfig/development-sql.yaml