-
Notifications
You must be signed in to change notification settings - Fork 135
Closed
Labels
dapr-ext-workflowkind/enhancementNew feature or requestNew feature or requeststaleIssue marked as stale by Dapr BotIssue marked as stale by Dapr Bot
Milestone
Description
Describe the WORKFLOW SDK feature
durabletask-go now support orchestration ID reuse policy, customer can reuse the orchestration ID with three different action ERROR
, IGNORE
, and TERMINATE
with a target runtime status set.
ERROR
- If there is an existing workflow then the scheduler throws an exception (this is the current behavior).
IGNORE
- If there is an existing workflow already scheduled, then the scheduler does nothing.
TERMINATE
- Terminates any existing workflows with the same instance ID and then schedules a new instance as one atomic action, similar to on-demand ContinueAsNew.
SDK needs to expose those options to customer orchestration ID reuse support.
Reference:
- Support reusing orchestration id microsoft/durabletask-go#46
- Support orchestration ID reuse policy microsoft/durabletask-python#26
Release Note
RELEASE NOTE: ADD Add support for workflow ID reuse policy
Metadata
Metadata
Assignees
Labels
dapr-ext-workflowkind/enhancementNew feature or requestNew feature or requeststaleIssue marked as stale by Dapr BotIssue marked as stale by Dapr Bot