1647
signalInfo *persistencespb.SignalInfo,
1648
attributes *historypb.SignalExternalWorkflowExecutionInitiatedEventAttributes,
1650
>
request := &historyservice.SignalWorkflowExecutionRequest{
1651
>
NamespaceId: targetNamespaceID.String(),
1652
>
SignalRequest: &workflowservice.SignalWorkflowExecutionRequest{
1653
>
Namespace: targetNamespace.String(),
1654
>
WorkflowExecution: attributes.GetWorkflowExecution(),
1655
>
Identity: consts.IdentityHistoryService,
1656
>
SignalName: attributes.SignalName,
1657
>
Input: attributes.Input,
1658
>
// Use same request ID to deduplicate SignalWorkflowExecution calls
1659
>
RequestId: signalInfo.GetRequestId(),
1660
>
Control: attributes.Control,
1661
>
Header: attributes.Header,
1662
>
},
1663
>
ExternalWorkflowExecution: &commonpb.WorkflowExecution{
1664
>
WorkflowId: task.WorkflowID,
1665
>
RunId: task.RunID,
1666
>
},
1667
>
ChildWorkflowOnly: attributes.GetChildWorkflowOnly(),
1668
>
}
1669
>
1670
>
_, err := t.historyRawClient.SignalWorkflowExecution(ctx, request)
1671
>
return err
1672
>
}
1673
1674
func (t *transferQueueActiveTaskExecutor) startWorkflow(