An example of calling proto workflows, queries, signals, and updates hosted by a worker in one namespace from a workflow in a different namespace (or cluster).
In an initial terminal:
- Start temporal
temporal server start-dev \ --dynamic-config-value "frontend.enableUpdateWorkflowExecution=true" \ --dynamic-config-value "frontend.enableUpdateWorkflowExecutionAsyncAccepted=true"
- In a different terminal, create
example
namespace and run the workertemporal operator namespace create example go run ./examples/xns/... worker
- In a different terminal, execute an xns workflow
go run ./examples/xns/... xns provision-foo --name test