Upsert search attributes in an Activity

Hi
Is it possible to upsert search attributes within an Activity.

Thanks in advance.
Best Regards
Krishnendu

No, only workflow can upsert search attributes.

Thank you @maxim .