435
acceptedRequestSequencingEventId int64,
436
acceptedRequest *updatepb.Request,
438
>
event := b.createHistoryEvent(enumspb.EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ACCEPTED, b.timeSource.Now())
439
>
event.Attributes = &historypb.HistoryEvent_WorkflowExecutionUpdateAcceptedEventAttributes{
440
>
WorkflowExecutionUpdateAcceptedEventAttributes: &historypb.WorkflowExecutionUpdateAcceptedEventAttributes{
441
>
ProtocolInstanceId: protocolInstanceID,
442
>
AcceptedRequestMessageId: acceptedRequestMessageId,
443
>
AcceptedRequestSequencingEventId: acceptedRequestSequencingEventId,
444
>
AcceptedRequest: acceptedRequest,
445
>
},
446
>
}
447
>
return event
448
>
}
449
450
func (b *EventFactory) CreateWorkflowExecutionUpdateCompletedEvent(