Enumeration: WorkflowIdReusePolicy
enums.v1.WorkflowIdReusePolicy
Defines whether to allow re-using a workflow id from a previously closed workflow.
If the request is denied, a WorkflowExecutionAlreadyStartedFailure
is returned.
See WorkflowIdConflictPolicy
for handling workflow id duplication with a running workflow.
Enumeration Members
WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE
• WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE = 1
WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY
• WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY = 2
WORKFLOW_ID_REUSE_POLICY_REJECT_DUPLICATE
• WORKFLOW_ID_REUSE_POLICY_REJECT_DUPLICATE = 3
WORKFLOW_ID_REUSE_POLICY_TERMINATE_IF_RUNNING
• WORKFLOW_ID_REUSE_POLICY_TERMINATE_IF_RUNNING = 4
WORKFLOW_ID_REUSE_POLICY_UNSPECIFIED
• WORKFLOW_ID_REUSE_POLICY_UNSPECIFIED = 0