211
resp, outcome, conflictErr := s.handleConflict(ctx, creationParams, currentWorkflowConditionFailedError)
212
if conflictErr == nil && outcome == StartNew {
213
>
// Notify version workflow if we are starting a workflow execution on a potentially drained version.
api.go
214
>
// Only signal when a new workflow was actually created (StartNew), not for deduped retries
215
>
// (StartDeduped) or reused existing workflows (StartReused) where the pinned override is not applied.
216
>
api.ReactivateVersionWorkflowIfPinned(ctx, s.namespace, s.request.StartRequest.GetVersioningOverride(), s.reactivationSignaler, s.shardContext.GetConfig().EnableVersionReactivationSignals(), s.shouldSkipReactivation, s.revisionNumber)
217
>
}
218
return resp, outcome, conflictErr
219
}