Repository navigation
Map the definition id of the variables fetched by queries that include variables - #4309
Merged
Merged
Conversation
…e variables The variables of the process instance, historic process instance, task, historic task, case instance, historic case instance, plan item instance and historic plan item instance queries that include variables did not have the process or case definition id, so code that needed it for such a variable had to fetch the instance again. - The queryVariables collections of these queries now map the process definition id (BPMN) or the scope definition id (CMMN) of the instance to the variables, and use VAR_ID_ as notNullColumn, so an instance without variables gets an empty collection. - HistoricVariableInstance exposes getProcessDefinitionId() and getScopeDefinitionId(), like VariableInstance. They are not persisted and are also copied from the runtime variable when the historic variable is created or updated. - The task and historic task queries without included variables use a result map with only the identity links. - The CMMN task sets the scope definition id on its local variables, like the process definition id for BPMN tasks.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The variables of the process instance, historic process instance, task, historic task, case instance, historic case instance, plan item instance and historic plan item instance queries that include variables did not have the process or case definition id, so code that needed it for such a variable had to fetch the instance again.
Check List: