AnsweredAssumed Answered

HistoricProcessInstanceQuery query over multiple process variables

Question asked by godofwar on Jun 8, 2016
Latest reply on Jun 9, 2016 by godofwar
Hello this is a scenario that describes my problem,
I have a workflow that contains a multiple/multi-valued property named documentVerificators which is an association with cm:person
I started an instance of this workflow and selected two users in the property documentVerificators: admin and Jack.
I want to use the HistoricProcessInstanceQuery in order to find the instances that have the user "admin" in their documentVerificators property.

Those are the available methods in the service:

variableValueEquals
variableValueNotEquals
variableValueGreaterThan
variableValueGreaterThanOrEqual
variableValueLessThan
variableValueLessThanOrEqual
variableValueLike

I didnt find someThing like variableValueIn to filter over multiples process variables.

Do you have any idea how to make that work please ?

Outcomes