How To Rebuild Mailers Queue When it is Inconsistent or Corrupted? (Doc ID 736898.1)

Last updated on AUGUST 02, 2017

Applies to:

Oracle Workflow - Version 11.5.10.2 to 12.2 [Release 11.5.10 to 12.2]
Information in this document applies to any platform.

Goal

In some cases, mailer's queue (WF_NOTIFICATION_OUT) may be corrupted or inconsistent, and mailer may not be able to send the email notifications as it should.

It is inconsistent when, for instance, each notification in OPEN / MAIL status in table WF_NOTIFICATIONS, does not have a corresponding message in "Ready" status in mailer's queue.

Another case is when you changed profile option "WF: Workflow Mailer Framework Web Agent", but messages in mailer's queue still refer to the old value.

In such situations, mailer's queue must be rebuilt.

The goal of that Note is to provide instructions how to rebuild the mailer's queue.

NOTE: The solution below applies when there are no Oracle Alert messages in mailer's queue.  If you have Oracle Alert messages in mailer's queue, script wfntfqup.sql will fail.
Refer to <Note 332152.1> for complete procedure to rebuild mailer's queue when it contains Oracle Alert messages.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms