cancel
Showing results for 
Search instead for 
Did you mean: 

check for an objects value in the process

smurfs
Champ in-the-making
Champ in-the-making
Hi

Can you please let me know, if there is a method to check for an objects value in the process, similar to one below:

processEngine.getTaskService().createTaskQuery().processVariableValueEqualsIgnoreCase('','')
The above method will check for the value of the string variable. Is there a method to check for an object like 'Item' ?

Regards
Smurf
3 REPLIES 3

trademak
Star Contributor
Star Contributor
Hi Smurf,

No, the variable query only supports primitive types. If you have a complex object and you need to query on a specific value, a good approach would be to store the value as a primitive separately, so you can query on it.

Best regards,

smurfs
Champ in-the-making
Champ in-the-making
Ok. Can you please let me know, if i can use a 'in' clause ?

jbarrez
Star Contributor
Star Contributor
No, that would have to be done by a custom or native query