Fetch Tasks using business data

How to filter the list of the tasks using the process variables in camunda 8 using graph ql API?

The same ApI is available in Camunda 7 REST API, where as i am not able to find the same in latest Camunda version.

i have a requirement where i will need to fetch all the list of active tasks for the user, using the filters with variables available.

Hi @sandeept and welcome to the forum,

in Camunda 8.1, your search requires multiple calls.

  1. Call the operate API to search for the variables with the desired value. Part of the response is the processInstanceKey.
  2. Use the processInstanceKey from step one as the processInstanceId in a task query (for tasklist)

Alternatively, you can get all tasks and filter them afterwards, see: