Fetch Tasks using business data

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: