Enumeration: WorkflowIdConflictPolicy
Defines what to do when trying to start a workflow with the same workflow id as a running workflow. Note that it is never valid to have two actively running instances of the same workflow id.
See WorkflowIdReusePolicy for handling workflow id duplication with a closed workflow.
Enumeration Members
WORKFLOW_ID_CONFLICT_POLICY_FAIL
WORKFLOW_ID_CONFLICT_POLICY_FAIL:
1
Don't start a new workflow; instead return WorkflowExecutionAlreadyStartedFailure.
WORKFLOW_ID_CONFLICT_POLICY_TERMINATE_EXISTING
WORKFLOW_ID_CONFLICT_POLICY_TERMINATE_EXISTING:
3
Terminate the running workflow before starting a new one.
WORKFLOW_ID_CONFLICT_POLICY_UNSPECIFIED
WORKFLOW_ID_CONFLICT_POLICY_UNSPECIFIED:
0
WORKFLOW_ID_CONFLICT_POLICY_UNSPECIFIED value
WORKFLOW_ID_CONFLICT_POLICY_USE_EXISTING
WORKFLOW_ID_CONFLICT_POLICY_USE_EXISTING:
2
Don't start a new workflow; instead return a workflow handle for the running workflow.