Enum NexusOperationIdReusePolicy
- Namespace
- Temporalio.Api.Enums.V1
- Assembly
- Temporalio.dll
Defines whether to allow re-using an operation ID from a previously closed Nexus operation.
If the request is denied, the server returns a NexusOperationAlreadyStarted error.
See NexusOperationIdConflictPolicy for handling ID duplication with a running operation.
public enum NexusOperationIdReusePolicy
Fields
[OriginalName("NEXUS_OPERATION_ID_REUSE_POLICY_ALLOW_DUPLICATE")] AllowDuplicate = 1Always allow starting an operation using the same operation ID.
[OriginalName("NEXUS_OPERATION_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY")] AllowDuplicateFailedOnly = 2Allow starting an operation using the same ID only when the last operation's final state is one of {failed, canceled, terminated, timed out}.
[OriginalName("NEXUS_OPERATION_ID_REUSE_POLICY_REJECT_DUPLICATE")] RejectDuplicate = 3Do not permit re-use of the ID for this operation. Future start requests could potentially change the policy, allowing re-use of the ID.
[OriginalName("NEXUS_OPERATION_ID_REUSE_POLICY_UNSPECIFIED")] Unspecified = 0