Open
Description
This idea comes from dapr/dapr#7101, as it relates to reusing existing workflow IDs.
When scheduling the creation of a new orchestration, the following options should be available:
TerminateIfExists
- Terminates any existing orchestrations with the same instance ID and then schedules a new instance as one atomic action, similar to on-demand ContinueAsNew.SkipIfExists
- If there is an existing orchestration already scheduled, then the scheduler does nothing.ThrowIfExists
- If there is an existing orchestration then the scheduler throws an exception (this is the current behavior).
As an optional extension of this, we can consider exposing an "Execution ID" or "Generation ID" property to the orchestration which can help distinguish different instantiations of the given instance ID.
Metadata
Metadata
Assignees
Labels
No labels