How to upsert custom Search Attributes
To upsert custom Search Attributes, use the upsert_search_attributes() function and set it to an empty list.
The keys are added to or replace the existing Search Attributes, similar to dict.update().
workflow.upsert_search_attributes({"Your-Custom-Keyword-Field": ["new-value"]})