The sample demonstrates:
- Setting custom search attributes for a Workflow
- Using ListWorkflowExecutionsRequest and custom Search Attribute query to list Workflow Executions that match that query
- Unlike the other examples, this one has to be started with Elasticsearch capabilities enabled. If you are using docker you can do that with:
git clone https://github.com/temporalio/docker-compose.git
cd docker-compose
docker-compose -f docker-compose-cas-es.yml upRun the following command to start the sample:
./gradlew -q execute -PmainClass=io.temporal.samples.listworkflows.Starter