784
runID string,
785
control string,
787
>
event := b.createHistoryEvent(enumspb.EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_SIGNALED, b.timeSource.Now())
788
>
event.Attributes = &historypb.HistoryEvent_ExternalWorkflowExecutionSignaledEventAttributes{
789
>
ExternalWorkflowExecutionSignaledEventAttributes: &historypb.ExternalWorkflowExecutionSignaledEventAttributes{
790
>
InitiatedEventId: initiatedEventID,
791
>
Namespace: targetNamespace.String(),
792
>
NamespaceId: targetNamespaceID.String(),
793
>
WorkflowExecution: &commonpb.WorkflowExecution{
794
>
WorkflowId: workflowID,
795
>
RunId: runID,
796
>
},
797
>
Control: control,
798
>
},
799
>
}
800
>
return event
801
>
}
802
803
func (b *EventFactory) CreateMarkerRecordedEvent(