2078
// SearchAttributes implements chasm.VisibilitySearchAttributesProvider interface.
2079
// Returns the current search attribute values for this activity execution.
2080
>
func (a *Activity) SearchAttributes(_ chasm.Context) []chasm.SearchAttributeKeyValue {
activity.go
2081
>
return []chasm.SearchAttributeKeyValue{
2082
>
TypeSearchAttribute.Value(a.GetActivityType().GetName()),
2083
>
StatusSearchAttribute.Value(InternalStatusToAPIStatus(a.GetStatus()).String()),
2084
>
chasm.SearchAttributeTaskQueue.Value(a.GetTaskQueue().GetName()),
2085
>
chasm.SearchAttributeExecutionTime.Value(a.firstDispatchTime()),
2086
>
}
2087
>
}