112
ctx context.Context,
113
request *historyservice.ReplicateWorkflowStateRequest,
115
>
executionInfo := request.GetWorkflowState().GetExecutionInfo()
116
>
executionState := request.GetWorkflowState().GetExecutionState()
117
>
namespaceID := namespace.ID(executionInfo.GetNamespaceId())
118
>
wid := executionInfo.GetWorkflowId()
119
>
rid := executionState.GetRunId()
120
>
if executionState.State != enumsspb.WORKFLOW_EXECUTION_STATE_COMPLETED {
121
return serviceerror.NewInternal("Replicate non completed workflow state is not supported.")
122
}