I have a receive Task in my process model, like so
<receiveTask id="waitForAcknowledgement" />
I know my process is waiting at this task. I'm trying to use
taskService.createTaskQuery().taskDefinitionKey("waitForAcknowledgement").list();
The size of the list returned is 0.
I need to be able to "signal" the task so that my process can transition to my end event. But if I cannot find the task I cannot do that.
Anyone please tell me what I am doing wrong.