Issue link: https://github.com/temporalio/documentation/issues/3285
Brief description
https://docs.temporal.io/visibility#default-search-attributes mentions that there is an SA called TemporalChangeVersion, but it does not mention how to use it.
Your recommended content
I would like to see a short description of how to use it, like we have with BuildIds

The SA value is stored with the following format: changeID + "-" + version
given this code
v := workflow.GetVersion(ctx, "addActivity", workflow.DefaultVersion, 1)
if v == 1 {
var result string
err := workflow.ExecuteActivity(ctx, Activity, name).Get(ctx, &result)
if err != nil {
logger.Error("Activity failed.", "Error", err)
return "", err
}
}
The query that returns the workflow execution with this version will be
TemporalChangeVersion="addActivity-1"
Thank you
Issue link: https://github.com/temporalio/documentation/issues/3285
Brief description
https://docs.temporal.io/visibility#default-search-attributes mentions that there is an SA called TemporalChangeVersion, but it does not mention how to use it.
Your recommended content
I would like to see a short description of how to use it, like we have with BuildIds
The SA value is stored with the following format: changeID + "-" + version
given this code
The query that returns the workflow execution with this version will be
TemporalChangeVersion="addActivity-1"Thank you