1182
childNamespace *namespace.Namespace,
1183
childWorkflowID string,
1185
>
childDescribeReq := &historyservice.DescribeWorkflowExecutionRequest{
1186
>
NamespaceId: childNamespace.ID().String(),
1187
>
Request: &workflowservice.DescribeWorkflowExecutionRequest{
1188
>
Namespace: childNamespace.Name().String(),
1189
>
Execution: &commonpb.WorkflowExecution{
1190
>
WorkflowId: childWorkflowID,
1191
>
},
1192
>
},
1193
>
}
1194
>
response, err := t.historyRawClient.DescribeWorkflowExecution(ctx, childDescribeReq)
1195
>
if err != nil {
1196
// It's not an error if the child is not found. Return empty childID so that the child is created.
1197
if common.IsNotFoundError(err) {