Had a look at the code, and that message is triggered by the query 'INTEGRATION OUTACTION TASK CURRENT' (when no records are returned).
So try running the query for the task and see which flag is causing the issue.
SELECT OA.REF, OA.ACTION_STATE
FROM ER_OUTACTION_TICKET OAT INNER JOIN ER_OUTACTION OA ON
OA.REF = OAT.OUTACTION_REF
WHERE
OAT.TICKET_CORE_ENTITY = 3 AND
OAT.TICKET_REF = :nTASK_NO AND
OAT.CURRENT_IND = 1 AND
OA.ACTION_STATE IN (-1,0)