Temporal · Arazzo Workflow
Temporal Provision a Namespace in a Validated Region
Version 1.0.0
Confirm a region is available, create a Namespace there, then poll until provisioning finishes.
Provider
Workflows
provision-namespace-in-region
Validate regions, create a Namespace, and poll its async operation to completion.
Chains listRegions (branching on whether any region exists), createNamespace, and getAsyncOperation polled until the operation state leaves pending.
1
listRegions
listRegions
List the available regions. The flow branches to fail early when no regions are returned, otherwise it proceeds to create the Namespace.
2
createNamespace
createNamespace
Create the Namespace in the requested region and capture the asyncOperationId returned for tracking provisioning progress.
3
pollOperation
getAsyncOperation
Poll the async operation until its state field is no longer the in-flight pending value, indicating provisioning has reached a terminal state.