-
Notifications
You must be signed in to change notification settings - Fork 18
[Feature Request] Upsert TemporalChangeVersion on patch #117
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
Comments
This also appears to not work for the TS SDK, but I'm guessing solving it in the Core will address that as well? |
Yes. @Sushisource I was envisioning this done only in Core, but that would mean |
@lorensr It should be able to have it just fine - maybe not in the same workflow task that you do the upsert, but that's correct in some sense anyway. |
We could add the search attribute when a patch is applied in the TS workflow runtime so it's available when processing the "current" workflow task. |
I think we decided to close this and implement in lang, it's much much simpler |
Is your feature request related to a problem? Please describe.
Can't do:
tctl workflow list --query='TemporalChangeVersion="<change_id>-<version_id>"'
Which our docs say you should be able to do when using patch API.
https://docs.temporal.io/concepts/what-is-a-search-attribute
Describe the solution you'd like
Add an
UpsertSearchAttributes
withTemporalChangeVersion: <change_id>-<version_id>
with each patch command. Apparently Go SDK does this, but Java doesn't.SDKs
Additional context
Internal slack link
The text was updated successfully, but these errors were encountered: