Hi Norm, It is working now. I just missed to define the function xx_get_approvers as PRAGMA AUTONOMOUS TRANSACTION as it contains DML statements in it.
↧