# \#search-attributes

**URL:** https://community.temporal.io/tag/search-attributes/129.md

[Latest](https://community.temporal.io/latest.md) · [Categories](https://community.temporal.io/categories.md) · [Tags](https://community.temporal.io/tags.md)

---

## [Accessing SearchAttributes from the client (think test)](https://community.temporal.io/t/accessing-searchattributes-from-the-client-think-test/17249)

<div class="topic-metadata">

**Author:** [@febeling](https://community.temporal.io/u/febeling)\
**Replies:** 0\
**Last updated:** [April 28, 2025, 1:00pm UTC](https://community.temporal.io/t/accessing-searchattributes-from-the-client-think-test/17249 "2025-04-28T13:00:12Z")

</div>

I’m writing a test which checks that a search attribute is being set (Kotlin/Java SDK). This is a helper I came up with: private fun findSearchAttributeBooleanValue( workflowId: String, fieldName: S…

---

## [Temporal Java API Search APIS](https://community.temporal.io/t/temporal-java-api-search-apis/11822)

<div class="topic-metadata">

**Author:** [@kenand](https://community.temporal.io/u/kenand)\
**Replies:** 0\
**Last updated:** [April 18, 2024, 4:09pm UTC](https://community.temporal.io/t/temporal-java-api-search-apis/11822 "2024-04-18T16:09:27Z")

</div>

Hello We are trying to search our running and complete workflows and want to be able to generate reports on them. Is there an api which would return a result set which consists of custom search attributes? We are using …

---

## [Search queries not working properly](https://community.temporal.io/t/search-queries-not-working-properly/10230)

<div class="topic-metadata">

**Author:** [@kishore\_kumar](https://community.temporal.io/u/kishore_kumar)\
**Replies:** 2\
**Last updated:** [March 6, 2024, 5:43pm UTC](https://community.temporal.io/t/search-queries-not-working-properly/10230 "2024-03-06T17:43:58Z")

</div>

We have added a search attribute called CustomId. And we are updating the value via TypeScript code. We can see the value of the search attribute in the table UI of temporal, But when searched with advanced search or fi…

---

## [Search attributes are base64 encoded in the web UI](https://community.temporal.io/t/search-attributes-are-base64-encoded-in-the-web-ui/10065)

<div class="topic-metadata">

**Author:** [@ccramer](https://community.temporal.io/u/ccramer)\
**Replies:** 0\
**Last updated:** [November 9, 2023, 8:35pm UTC](https://community.temporal.io/t/search-attributes-are-base64-encoded-in-the-web-ui/10065 "2023-11-09T20:35:31Z")

</div>

Hi All, I’m fairly new to Temporal and I’ve been experimenting with search attributes. Things were going quite well until I upgraded as follows -TEMPORAL\_VERSION=1.21.1 -TEMPORAL\_UI\_VERSION=2.16.1 +TEMPORAL\_VERSION=…

---

## [List Workflow with customized Search Attributes not working](https://community.temporal.io/t/list-workflow-with-customized-search-attributes-not-working/745)

<div class="topic-metadata">

**Author:** [@Gaoxin\_Dai](https://community.temporal.io/u/Gaoxin_Dai)\
**Replies:** 8\
**Last updated:** [May 6, 2022, 1:46pm UTC](https://community.temporal.io/t/list-workflow-with-customized-search-attributes-not-working/745 "2022-05-06T13:46:19Z")

</div>

Hi team, The default Search Attributes query is working for me, but not working when I query new added Search Attributes. I’m able to see all the indexed filed from the command line, but when I tried query, it’s not wo…

---

## [Temporal UI Search](https://community.temporal.io/t/temporal-ui-search/9540)

<div class="topic-metadata">

**Author:** [@rifruf](https://community.temporal.io/u/rifruf)\
**Replies:** 2\
**Last updated:** [September 21, 2023, 3:08pm UTC](https://community.temporal.io/t/temporal-ui-search/9540 "2023-09-21T15:08:31Z")

</div>

Hello, trying to setup my workflows so that they’re searchable by workflowId. For some background, my Temporal cluster runs ElasticSearch. Currently, our workflowIDs are generated as foo-bar-\<random nanoid\>, and that ra…

---

## [Enabling search attributes in testing workflow environment](https://community.temporal.io/t/enabling-search-attributes-in-testing-workflow-environment/8535)

<div class="topic-metadata">

**Author:** [@khoover3](https://community.temporal.io/u/khoover3)\
**Replies:** 1\
**Last updated:** [June 14, 2023, 6:17pm UTC](https://community.temporal.io/t/enabling-search-attributes-in-testing-workflow-environment/8535 "2023-06-14T18:17:43Z")

</div>

Hi, I’m trying to test a manager activity that handles adding/updating/deleting schedules on the temporal server, but I’m hitting a snag with search attributes. Right now I’m using WorkflowEnvironment.start\_local to brin…

---

## [Create Search Attribute from json](https://community.temporal.io/t/create-search-attribute-from-json/8449)

<div class="topic-metadata">

**Author:** [@Krishnendu\_Kunti](https://community.temporal.io/u/Krishnendu_Kunti)\
**Replies:** 1\
**Last updated:** [June 5, 2023, 7:07am UTC](https://community.temporal.io/t/create-search-attribute-from-json/8449 "2023-06-05T07:07:17Z")

</div>

Hi Need pointer on how to create SearchAttributes object from json String payload. I have the following search attributes. Is there a utility method for getting a SearchAttributes object from the same. Need the same t…

---

## [Upsert search attributes in an Activity](https://community.temporal.io/t/upsert-search-attributes-in-an-activity/8336)

<div class="topic-metadata">

**Author:** [@Krishnendu\_Kunti](https://community.temporal.io/u/Krishnendu_Kunti)\
**Replies:** 2\
**Last updated:** [May 24, 2023, 2:20pm UTC](https://community.temporal.io/t/upsert-search-attributes-in-an-activity/8336 "2023-05-24T14:20:30Z")

</div>

Hi Is it possible to upsert search attributes within an Activity. Thanks in advance. Best Regards Krishnendu

---

## [Update workflow search attributes from client](https://community.temporal.io/t/update-workflow-search-attributes-from-client/7974)

<div class="topic-metadata">

**Author:** [@Vasiliy\_Malyavin](https://community.temporal.io/u/Vasiliy_Malyavin)\
**Replies:** 1\
**Last updated:** [May 19, 2023, 4:35pm UTC](https://community.temporal.io/t/update-workflow-search-attributes-from-client/7974 "2023-05-19T16:35:31Z")

</div>

We want to update completed workflow execution search attributes from external service or another workflow. Just add some attributes to find this workflow in list queries. Is there any way to do it? Found UpdateWorkflo…

---

## [List filter wildcard query not returning expected results](https://community.temporal.io/t/list-filter-wildcard-query-not-returning-expected-results/7362)

<div class="topic-metadata">

**Author:** [@chkl](https://community.temporal.io/u/chkl)\
**Replies:** 4\
**Last updated:** [February 27, 2023, 11:42am UTC](https://community.temporal.io/t/list-filter-wildcard-query-not-returning-expected-results/7362 "2023-02-27T11:42:28Z")

</div>

Hi, we are trying to improve our queries to search for workflows by certain custom search attributes by adding also a wildcard search. We followed the documentation about the List Filter and our expectation was that we …

---

## [Custom Searchattributes](https://community.temporal.io/t/custom-searchattributes/2943)

<div class="topic-metadata">

**Author:** [@sonyantony](https://community.temporal.io/u/sonyantony)\
**Replies:** 20\
**Last updated:** [February 4, 2023, 12:33am UTC](https://community.temporal.io/t/custom-searchattributes/2943 "2023-02-04T00:33:27Z")

</div>

is it possible to add/change search attributes on a workflow, after it has already started ? We ( java-sdk ) need to add search attributes of the type AAA=xxx on our workflows. I don’t see any examples. ( Im not ab…

---

## [Unable error when doing add-search-attribute](https://community.temporal.io/t/unable-error-when-doing-add-search-attribute/3533)

<div class="topic-metadata">

**Author:** [@dik](https://community.temporal.io/u/dik)\
**Replies:** 13\
**Last updated:** [December 9, 2022, 11:26am UTC](https://community.temporal.io/t/unable-error-when-doing-add-search-attribute/3533 "2022-12-09T11:26:49Z")

</div>

Hi, I’m currently testing Temporal using Cassandra and ES. I use the below command to add search attribute. tctl --tls\_ca\_path=${PATH} --address=${ADDRESS} admin cl asa --name CustomWorkflowId --type Keyword And I’m f…

---

## [Requiring search attributes](https://community.temporal.io/t/requiring-search-attributes/6082)

<div class="topic-metadata">

**Author:** [@brian](https://community.temporal.io/u/brian)\
**Replies:** 2\
**Last updated:** [September 29, 2022, 6:54pm UTC](https://community.temporal.io/t/requiring-search-attributes/6082 "2022-09-29T18:54:45Z")

</div>

I’m writing some code in a Workflow to prevent its execution if it does not have the required search attributes on it. This seems like it’d be a nice Temporal feature, but it also feels like maybe I’m using it wrong. I…

---

## [Does overall history size affect performance?](https://community.temporal.io/t/does-overall-history-size-affect-performance/4462)

<div class="topic-metadata">

**Author:** [@Alexander](https://community.temporal.io/u/Alexander)\
**Replies:** 1\
**Last updated:** [April 18, 2022, 3:35pm UTC](https://community.temporal.io/t/does-overall-history-size-affect-performance/4462 "2022-04-18T15:35:49Z")

</div>

Hi friends! How much the overall history size affects performance. 50M+ completed processes will be stored for the possibility of searching through them, sorting. Each of these processes contains no more than 100-200 h…

---

## [Recent change in custom search attribute](https://community.temporal.io/t/recent-change-in-custom-search-attribute/3127)

<div class="topic-metadata">

**Author:** [@sp13](https://community.temporal.io/u/sp13)\
**Replies:** 2\
**Last updated:** [October 12, 2021, 8:46pm UTC](https://community.temporal.io/t/recent-change-in-custom-search-attribute/3127 "2021-10-12T20:46:49Z")

</div>

Before 1.11 changes, for a custom search attribute I would add it in frontend.validSearchAttributes in dynamic config override es default template and add the search attributes. After changes, my understanding is jus…

---

## [Is the Custom Search attributes global or for namespace specific?](https://community.temporal.io/t/is-the-custom-search-attributes-global-or-for-namespace-specific/3111)

<div class="topic-metadata">

**Author:** [@senthilaru](https://community.temporal.io/u/senthilaru)\
**Replies:** 1\
**Last updated:** [October 7, 2021, 6:57pm UTC](https://community.temporal.io/t/is-the-custom-search-attributes-global-or-for-namespace-specific/3111 "2021-10-07T18:57:10Z")

</div>

when we add custom search attributes through tctl , will that be global i.e. all name space workflow can upsert it? if so is there any way to create it for namespace specific? our use case is we have multiple team uses …

---

## [DeadlineExceeded Error whiel creating Search Attributes](https://community.temporal.io/t/deadlineexceeded-error-whiel-creating-search-attributes/3068)

<div class="topic-metadata">

**Author:** [@sonyantony](https://community.temporal.io/u/sonyantony)\
**Replies:** 1\
**Last updated:** [October 3, 2021, 5:41pm UTC](https://community.temporal.io/t/deadlineexceeded-error-whiel-creating-search-attributes/3068 "2021-10-03T17:41:46Z")

</div>

What does this error mean ? bash-4.2$ tctl -namespace vault-osb-qa admin cluster add-search-attributes -name JRN\_VERSION -type int You are about to add search attributes \[JRN\_VERSION:Int\]. Continue? Y/N y Error: Unab…

---

## [Memo vs Serach Attributes vs Visibility Records](https://community.temporal.io/t/memo-vs-serach-attributes-vs-visibility-records/3003)

<div class="topic-metadata">

**Author:** [@sonyantony](https://community.temporal.io/u/sonyantony)\
**Replies:** 2\
**Last updated:** [September 23, 2021, 3:39am UTC](https://community.temporal.io/t/memo-vs-serach-attributes-vs-visibility-records/3003 "2021-09-23T03:39:58Z")

</div>

Read teh following : https://community.temporal.io/t/event-store-vs-visibility-store-questions/1285/2 https://community.temporal.io/t/whats-the-difference-between-history-and-visibility-record/286 https://javadoc.io/…

---

## [Query custom data from childworkflows](https://community.temporal.io/t/query-custom-data-from-childworkflows/2122)

<div class="topic-metadata">

**Author:** [@andrew.sch](https://community.temporal.io/u/andrew.sch)\
**Replies:** 5\
**Last updated:** [May 13, 2021, 3:46pm UTC](https://community.temporal.io/t/query-custom-data-from-childworkflows/2122 "2021-05-13T15:46:03Z")

</div>

My use case could potentially start thousands or even millions of childworkflows. Each childworkflow will make several heavy activity requests. I would like to store some small custom results information for each workflo…
