Added method getTaskForAssigneAndProcessInstanceId.