runID string,
archetypeID chasm.ArchetypeID,
_, err := r.shardContext.GetWorkflowExecution(
ctx,
&persistence.GetWorkflowExecutionRequest{
ShardID: r.shardContext.GetShardID(),
NamespaceID: namespaceID.String(),
WorkflowID: workflowID,
RunID: runID,
ArchetypeID: archetypeID,
},
)
switch err.(type) {
case nil:
return true, nil