@@ -641,14 +641,14 @@ type (
641
641
642
642
// WorkflowIDConflictPolicy - Specifies server behavior if a *running* workflow with the same id exists.
643
643
// This cannot be set if WorkflowIDReusePolicy is set to TerminateIfRunning.
644
- // Optional: defaulted to Fail.
644
+ // Optional: defaulted to Fail - required when used in WithStartWorkflowOperation .
645
645
WorkflowIDConflictPolicy enumspb.WorkflowIdConflictPolicy
646
646
647
647
// When WorkflowExecutionErrorWhenAlreadyStarted is true, Client.ExecuteWorkflow will return an error if the
648
648
// workflow id has already been used and WorkflowIDReusePolicy or WorkflowIDConflictPolicy would
649
649
// disallow a re-run. If it is set to false, rather than erroring a WorkflowRun instance representing
650
650
// the current or last run will be returned. However, this field is ignored in the following cases:
651
- // - when WithStartOperation is set ;
651
+ // - in WithStartWorkflowOperation ;
652
652
// - in the Nexus WorkflowRunOperation.
653
653
// When this field is ignored, you must set WorkflowIDConflictPolicy to UseExisting to prevent
654
654
// erroring.
@@ -675,7 +675,7 @@ type (
675
675
// │ │ │ │ │
676
676
// │ │ │ │ │
677
677
// * * * * *
678
- // Cannot be set the same time as a StartDelay or WithStartOperation .
678
+ // Cannot be set the same time as a StartDelay or in WithStartWorkflowOperation .
679
679
CronSchedule string
680
680
681
681
// Memo - Optional non-indexed info that will be shown in list workflow.
@@ -701,7 +701,7 @@ type (
701
701
TypedSearchAttributes SearchAttributes
702
702
703
703
// EnableEagerStart - request eager execution for this workflow, if a local worker is available.
704
- // Cannot be set the same time as a WithStartOperation .
704
+ // Cannot be set in WithStartWorkflowOperation .
705
705
//
706
706
// WARNING: Eager start does not respect worker versioning. An eagerly started workflow may run on
707
707
// any available local worker even if that worker is not in the default build ID set.
@@ -711,7 +711,7 @@ type (
711
711
712
712
// StartDelay - Time to wait before dispatching the first workflow task.
713
713
// A signal from signal with start will not trigger a workflow task.
714
- // Cannot be set the same time as a CronSchedule or WithStartOperation .
714
+ // Cannot be set the same time as a CronSchedule or in WithStartWorkflowOperation .
715
715
StartDelay time.Duration
716
716
717
717
// StaticSummary - Single-line fixed summary for this workflow execution that will appear in UI/CLI. This can be
0 commit comments