ctx context.Context,
mutableState historyi.MutableState,
executionInfo := mutableState.GetExecutionInfo()
// If the relocatable attributes were not removed from mutable state, then we can fetch the memo
// and search attributes from the mutable state.
if !executionInfo.GetRelocatableAttributesRemoved() {
return &RelocatableAttributes{
Memo: &commonpb.Memo{Fields: executionInfo.Memo},