Skip to main content

Interface: AddNewCompatibleVersion

client.AddNewCompatibleVersion

Adds a new Build Id into an existing compatible set. The newly added ID becomes the default for that compatible set, and thus new workflow tasks for workflows which have been executing on workers in that set will now start on this new Build Id.

Deprecated

Worker Versioning is now deprecated. Please use the Worker Deployment API instead: https://docs.temporal.io/worker-deployments

Properties​

buildId​

• buildId: string


existingCompatibleBuildId​

• existingCompatibleBuildId: string


operation​

• operation: "addNewCompatibleVersion"


promoteSet​

• Optional promoteSet: boolean