Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

BPE Unable to Instantiate Process With Non Latest Version #264

Closed
hhund opened this issue Sep 2, 2021 · 0 comments · Fixed by #265 or #266
Closed

BPE Unable to Instantiate Process With Non Latest Version #264

hhund opened this issue Sep 2, 2021 · 0 comments · Fixed by #265 or #266
Assignees
Labels
bug Something isn't working ready for release Issue is fixed and merged into develop, ready for next release
Milestone

Comments

@hhund
Copy link
Member

hhund commented Sep 2, 2021

Effected Versions: 0.5.0

If multiple versions of the same process are deployed in the BPE, only the latest version can be instantiated.

.processDefinitionKey(processDomain + "_" + processDefinitionKey).versionTag(processVersion)
.latestVersion().singleResult();

Querying for a process with .versionTag(processVersion).latestVersion() only works if the given version is the latest version.

We need to remove .latestVersion().

@hhund hhund added the bug Something isn't working label Sep 2, 2021
@hhund hhund added this to the v0.5.1 milestone Sep 2, 2021
@hhund hhund self-assigned this Sep 2, 2021
hhund added a commit that referenced this issue Sep 2, 2021


The query config methods .versionTag(processVersion) and
.latestVersion() should not be used together. A query configured this
way would only give a result if the given processVersion is the latest
deployed version of the process.
@hhund hhund added the ready for release Issue is fixed and merged into develop, ready for next release label Sep 2, 2021
@hhund hhund mentioned this issue Sep 2, 2021
@hhund hhund closed this as completed in #266 Sep 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working ready for release Issue is fixed and merged into develop, ready for next release
Projects
None yet
1 participant