5309
}
5310
5312
>
initiatedID,
5313
>
targetNamespace,
5314
>
targetNamespaceID,
5315
>
workflowID,
5316
>
runID,
5317
>
control, // TODO this field is probably deprecated
5318
>
)
5319
>
if err := ms.ApplyExternalWorkflowExecutionSignaled(event); err != nil {
5320
return nil, err
5321
}
5323
}
5324
5325
func (ms *MutableStateImpl) ApplyExternalWorkflowExecutionSignaled(
5326
event *historypb.HistoryEvent,
5328
>
initiatedID := event.GetExternalWorkflowExecutionSignaledEventAttributes().GetInitiatedEventId()
5329
>
5330
>
return ms.DeletePendingSignal(initiatedID)
5331
>
}
5332
5333
func (ms *MutableStateImpl) AddSignalExternalWorkflowExecutionFailedEvent(