Allow querying task based on process-instance variable

Description

Extends TaskQuery so it allows selecting tasks which are part of a process-instance which has the given variable set.
This can be done quite easily, altering the implementation of taskVariableValueEquals() -> processVariables are stored in the same way, only " processInstanceId = id and taskId is null" should be used instead of "taskId = taskId".

Assignee

Frederik Heremans

Reporter

Frederik Heremans

Labels

None

Fix versions

Priority

Major
Configure