How to get Failure reason for failed notifications
I am using WF_NOTIFICATION.SEND from a PL/SQL procedure to send Notifications.
In some cases the notifications are successfully delivered, but in some cases the MAIL_STATUS in WF_NOTIFICATIONS table is set to FAILED.
The Message_type, Message_name and Notification contents are the same in each case, and the Recipient Role is also valid.
How to do I know why the MAIL_STATUS is showing as failed?. Is there any WF tables that holds the information or is there an API that can retrieve the error message?
Thanks
Sanjay Ray