418
attributes.StartedEventId = startedEventID
419
}
420
>
case enumspb.EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_FAILED:
event_store.go
421
>
attributes := event.GetChildWorkflowExecutionFailedEventAttributes()
422
>
if startedEventID, ok := b.scheduledIDToStartedID[attributes.GetInitiatedEventId()]; ok {
423
>
attributes.StartedEventId = startedEventID
424
>
}
425
>
case enumspb.EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TIMED_OUT:
426
>
attributes := event.GetChildWorkflowExecutionTimedOutEventAttributes()
427
>
if startedEventID, ok := b.scheduledIDToStartedID[attributes.GetInitiatedEventId()]; ok {
428
>
attributes.StartedEventId = startedEventID
429
>
}
430
>
case enumspb.EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_CANCELED:
431
>
attributes := event.GetChildWorkflowExecutionCanceledEventAttributes()
432
>
if startedEventID, ok := b.scheduledIDToStartedID[attributes.GetInitiatedEventId()]; ok {
433
>
attributes.StartedEventId = startedEventID
434
>
}
435
>
case enumspb.EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TERMINATED:
436
>
attributes := event.GetChildWorkflowExecutionTerminatedEventAttributes()
437
>
if startedEventID, ok := b.scheduledIDToStartedID[attributes.GetInitiatedEventId()]; ok {
438
>
attributes.StartedEventId = startedEventID
439
>
}
440
441
case enumspb.EVENT_TYPE_WORKFLOW_EXECUTION_OPTIONS_UPDATED: