I checked the processInstanceId. It was correct but still got empty array. I checked the cockpit. It contains process instances with same id as processInstanceId. Then why it’s still returning an empty array? PLese help. Thank you.
This query should return running user tasks for the specified process instance.
Do you have any pending user tasks for the specified process instance? If you don’t then an empty array to be returned. (Notice:
active() means not suspended which I assumed is the case)