Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

search attributes functionality is unclear #12

Open
dennissetiawan opened this issue May 10, 2023 · 2 comments
Open

search attributes functionality is unclear #12

dennissetiawan opened this issue May 10, 2023 · 2 comments

Comments

@dennissetiawan
Copy link

In the persistence workflow, what i'm seeing is search attribute set and get operation has the same purpose as GetDataObject.
What capability does this search attribute has other than storing some data and getting some data across workflow state?

@longquanzheng
Copy link
Contributor

In the persistence workflow, what i'm seeing is search attribute set and get operation has the same purpose as GetDataObject. What capability does this search attribute has other than storing some data and getting some data across workflow state?

It allows you to search -- finding the workflow by a SQL like query.

E.g. you have SA FirstName. And there are millions of worklfow executions. You want to find a workflow execution that has FirstName="John" you can find it using the query.

@longquanzheng
Copy link
Contributor

https://github.com/indeedeng/iwf/wiki/Persistence I have very little doc here. Sorry haven't got enough time to document all the behavior. I will start working on the documentation soon in the new year! @dennissetiawan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants