89
90
// Notify version workflow if we're starting a new workflow pinned to a potentially drained version
91
>
if outcome.started {
api.go
92
api.ReactivateVersionWorkflowIfPinned(ctx, namespaceEntry, request.GetVersioningOverride(), reactivationSignaler, shard.GetConfig().EnableVersionReactivationSignals(), shouldSkipReactivation, revisionNumber)
93
}
94
95
>
swr := signalWithStartRequest.SignalWithStartRequest
api.go
96
>
return &historyservice.SignalWithStartWorkflowExecutionResponse{
97
>
RunId: outcome.runID,
98
>
FirstExecutionRunId: outcome.firstExecutionRunID,
99
>
Started: outcome.started,
100
>
SignalLink: api.GenerateRequestIDRefLink(
101
>
swr.GetNamespace(),
102
>
swr.GetWorkflowId(),
103
>
outcome.runID,
104
>
swr.GetRequestId(),
105
>
enumspb.EVENT_TYPE_WORKFLOW_EXECUTION_SIGNALED,
106
>
),
107
>
}, nil
108
}