496
ctx context.Context,
497
request *p.GetWorkflowExecutionRequest,
499
>
query := d.Session.Query(templateGetWorkflowExecutionQuery,
500
>
request.ShardID,
501
>
rowTypeExecution,
502
>
request.NamespaceID,
503
>
request.WorkflowID,
504
>
request.RunID,
505
>
defaultVisibilityTimestamp,
506
>
rowTypeExecutionTaskID,
507
>
).WithContext(ctx)
508
>
509
>
result := make(map[string]any)
510
>
if err := query.MapScan(result); err != nil {
511
return nil, gocql.ConvertError("GetWorkflowExecution", err)
512
}