1035
workflowType *commonpb.WorkflowType,
1036
retryState enumspb.RetryState,
1038
>
event := b.createHistoryEvent(enumspb.EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TIMED_OUT, b.timeSource.Now())
1039
>
event.Attributes = &historypb.HistoryEvent_ChildWorkflowExecutionTimedOutEventAttributes{
1040
>
ChildWorkflowExecutionTimedOutEventAttributes: &historypb.ChildWorkflowExecutionTimedOutEventAttributes{
1041
>
InitiatedEventId: initiatedID,
1042
>
StartedEventId: startedEventID,
1043
>
Namespace: targetNamespace.String(),
1044
>
NamespaceId: targetNamespaceID.String(),
1045
>
WorkflowExecution: execution,
1046
>
WorkflowType: workflowType,
1047
>
RetryState: retryState,
1048
>
},
1049
>
}
1050
>
return event
1051
>
}
1052
1053
func (b *EventFactory) CreateWorkflowExecutionPausedEvent(