Hi @sandeept and welcome to the forum,
in Camunda 8.1, your search requires multiple calls.
- Call the operate API to search for the variables with the desired value. Part of the response is the
processInstanceKey
.
- 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: