You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Versioning-3 introduces behavior annotations for workflows that could change what Build ID will be used for a workflow next task.
The current API is programmatic, and requires invoking SetVersioningBehavior() during the first workflow task. This gives extra
flexibility for dynamic workflows but can be error-prone.
This issue suggests an alternative approach which associates a default behavior to a workflow type, using a new option for workflow registration.
Describe the solution you'd like
Add the option DefaultVersioningBehavior to workflow.RegisterOptions, providing a default behavior for all workflows of a particular type that do not use the programmatic API.
The text was updated successfully, but these errors were encountered:
Versioning-3 introduces behavior annotations for workflows that could change what Build ID will be used for a workflow next task.
The current API is programmatic, and requires invoking SetVersioningBehavior() during the first workflow task. This gives extra
flexibility for dynamic workflows but can be error-prone.
This issue suggests an alternative approach which associates a default behavior to a workflow type, using a new option for workflow registration.
Describe the solution you'd like
Add the option
DefaultVersioningBehavior
toworkflow.RegisterOptions
, providing a default behavior for all workflows of a particular type that do not use the programmatic API.The text was updated successfully, but these errors were encountered: