sdk-java icon indicating copy to clipboard operation
sdk-java copied to clipboard

Set TemporalChangeVersion when workflow version is updated

Open tsurdilo opened this issue 4 years ago • 10 comments

Is your feature request related to a problem? Please describe. This feature is implemented in Go SDK, not in Java.

Describe the solution you'd like Set TemporalChangeVersion search attribute to the changeid-version when a new one is set on workflow. This will allow users to use search queries, like shown here: https://community.temporal.io/t/list-of-running-workflows-having-a-specific-version/1731

Describe alternatives you've considered Don't implement

This is a really needed feature when using workflow versioning. It works in Go SDK already.

tsurdilo avatar Jul 12 '21 19:07 tsurdilo

We need to do backwards compatibility for this one.

vitarb avatar Jul 19 '21 17:07 vitarb

Hi any progress on this one?

longquanzheng avatar Feb 07 '22 20:02 longquanzheng

Hi any progress on this? I have added this in Cadence long time ago. You may copy some code from it which can make it easier: https://github.com/uber/cadence-java-client/pull/650

longquanzheng avatar Apr 13 '22 21:04 longquanzheng

Not yet. It's a pretty tricky task to do because of the backward compatibility and the fact that the Version State Machine is one of the trickiest ones already. It's on my radar though and I will prioritize it when I get a chance.

Spikhalskiy avatar Apr 13 '22 21:04 Spikhalskiy

Hi, is there any update on this?

hmolinari-attentive avatar Jun 20 '23 19:06 hmolinari-attentive

I'm also curious, I tried to query the TemporalChangeVersion and nothing showed up in the TemporalUI because I used the JavaSDK to do a patch on the workflow.

rrogers-turo avatar Oct 24 '23 23:10 rrogers-turo