Using process variables to filter tasks

hi @StephanHaarmann and @Ingo_Richtsmeier
based on the process variable I can get the processInstanceKey.

processInstanceId in a task query,
Error: The variables input contains a field name ‘processInstanceId’ that is not defined for input object type ‘TaskQuery’

@basheer-babu can you please confirm the version that you are using? ProcessInstanceId field is available on tasklist api since version 8.1.7.

hi @marcosgvieira, my current version is 8.1.5 can you tell me how to update the version?

zeebee is 8.1.17,
I changed the version in Moduler but it is not working.

@basheer-babu you need to update all the Camunda stack (Zeebe + Operate + Tasklist), we are currently on version 8.2 already, so you can check the update guide here: Update 8.1 to 8.2 | Camunda Platform 8 Docs

To download you can go here: Docker Compose | Camunda

1 Like

Thank You @marcosgvieira