
{"id":7419,"date":"2020-05-08T11:13:04","date_gmt":"2020-05-08T11:13:04","guid":{"rendered":"https:\/\/rax-stg-wp-aws.com\/blogs\/dba-tips-for-handling-workflow-notification-mailer-issues\/"},"modified":"2026-11-03T19:28:39","modified_gmt":"2026-11-03T19:28:39","slug":"dba-tips-for-handling-workflow-notification-mailer-issues","status":"publish","type":"blogs","link":"https:\/\/www.rackspace.com\/de\/blogs\/dba-tips-for-handling-workflow-notification-mailer-issues\/","title":{"rendered":"DBA tips for handling Workflow Notification Mailer issues"},"content":{"rendered":"<p><strong>Introduction<\/strong><\/p>\n<p>When you manage issues, you deal with the process of recording, tracking, and resolving problems. Because&nbsp;Workflow Notification Mailer has many components, you might struggle to address issues related to it. To&nbsp;help you, I cover some issues and possible fixes. Don&#8217;t miss out on the scripts that you need to manage&nbsp;Workflow Notification Mailer activities easily.<\/p>\n<p><strong>Workflow Notification Mailer generic issues and their fixes<\/strong><\/p>\n<p>The following sections explore some Workflow Notification Mailer issues and solutions.<\/p>\n<p><strong>Issue: Users don&#8217;t get notifications<\/strong><br \/>\nUsers don&#8217;t receive notification emails or cannot fix the failed notifications.<\/p>\n<p><strong>Cause<\/strong><\/p>\n<p>The following settings are set to <em>DISABLED<\/em>&nbsp;instead of MAILHTML:<\/p>\n<p>&#8211; <strong>PREFERENCE_VALUE<\/strong>&nbsp;in the <strong>FND_USER_PREFERENCES<\/strong>&nbsp;table<br \/>\n&#8211; <strong>NOTIFICATION_PREFERENCE<\/strong>&nbsp;in the <strong>WF_LOCAL_ROLES<\/strong>&nbsp;table<\/p>\n<p><strong>FIX<\/strong><\/p>\n<p>1. Run the following commands to back up the tables:<\/p>\n<p>&nbsp; &nbsp; &nbsp;<em> &nbsp; &nbsp; &nbsp;SQL&gt; create table fnd_user_preferences_bkp as select * from fnd_user_preferences;<\/em><\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Table created.<\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<em> &nbsp;SQL&gt; create table wf_local_roles_bkp as select * from wf_local_roles;<\/em><\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Table created.<\/p>\n<p>2. Run the following commands to update the tables:<\/p>\n<p><em>&nbsp;select user_name,preference_value from FND_USER_PREFERENCES where preference_value = &#8216;DISABLED&#8217; and preference_name = &#8216;MAILTYPE&#8217; and module_name = &#8216;WF&#8217; and user_name like &#8216;%&lt;USER_NAME&gt;%&#8217;;&nbsp;<\/em><\/p>\n<p><em>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;update FND_USER_PREFERENCES set preference_value = &#8216;MAILHTML&#8217; where preference_name = &#8216;MAILTYPE&#8217; and preference_value = &#8216;DISABLED&#8217; and module_name = &#8216;WF&#8217; and user_name like &#8216;%&lt;USERNAME&gt;%&#8217;;&nbsp;<\/em><\/p>\n<p><em>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;select * from wf_local_roles where notification_preference = &#8216;DISABLED&#8217; and name like &#8216;%&lt;NAME&gt;&#8217;<\/em><\/p>\n<p><em>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;update wf_local_roles set notification_preference = &#8216;MAILHTML&#8217; where notification_preference = &#8216;DISABLED&#8217; and name like &#8216;%&lt;NAME&gt;%&#8217;<\/em><\/p>\n<p><em>3. Run the request **Resend Failed\/Error Workflow Notifications** from the System Administrator<br \/>\n&nbsp; &nbsp;responsibility to resend failed notifications. Set the date parameter, **Notifications sent on or after**,<br \/>\n&nbsp; &nbsp;to the specific date.<\/em><\/p>\n<p><em>&nbsp; &nbsp;**Note:** &nbsp;Use the following format for the date: **DD-MMM-YYYY** (Example: 01-JAN-2020)<\/em><br \/>\n&nbsp;<\/p>\n<p><strong>Issue 2: Emails go to the wrong folder<\/strong><\/p>\n<p>The system delivers expense notification approval emails to the <strong>DISCARD<\/strong>&nbsp;folder instead of the&nbsp;<strong>PROCESS<\/strong>&nbsp;folder.<\/p>\n<p>The following example shows the standard approval email <strong>Action<\/strong>&nbsp;item generated when the approver clicks on the <strong>Approval&nbsp;<\/strong>link:<\/p>\n<p><em>&nbsp; &nbsp; Action: &#8216;Approve&#8217;<br \/>\n&nbsp; &nbsp; Note: &#8221;<br \/>\n&nbsp; &nbsp; NID[5513471\/192168752214903990869743932721878211126@WFMAIL]<\/em><\/p>\n<p>When the notification goes to the Junk folder, &nbsp;the &#8220;Action&#8221; items appear as follows:<\/p>\n<p><em>&nbsp; &nbsp; Action: &#8216;Approve&#8217;Note: &#8221;NID5389465\/1779945055187563456464409735425450546126@WFMAIL<\/em><\/p>\n<p><strong>Cause:&nbsp;<\/strong><\/p>\n<p>The Microsoft\u00ae Outlook\u00ae email creation format setting is text mode, or you approve the&nbsp;notifications from a mobile device.<\/p>\n<p><strong>FIX:<\/strong><\/p>\n<p>Whenever you approve an email notification by using email text mode or from a mobile device, you should ensure that you do the following actions:<\/p>\n<p><em>&#8211; Put a space between each field.<br \/>\n&#8211; Put the <strong>NID<\/strong>&nbsp;value in brackets.<\/em><\/p>\n<p>The message from the preceding example should have at least one space between the fields, and the **NID** value should include square brackets ([ ]), as shown in the following example:<\/p>\n<p>&nbsp; &nbsp; Action: <strong>Approve<\/strong><br \/>\n&nbsp; &nbsp; Note: &#8221;<br \/>\n<em>&nbsp; &nbsp; NID[5389465\/1779945055187563456464409735425450546126@WFMAIL<\/em><\/p>\n<p><strong>Issue 3: Users miss emails or get old emails<\/strong><\/p>\n<p>Users don&#8217;t receive emails on time, or they get old notifications that are already closed or canceled<\/p>\n<p><strong>Cause:<\/strong><\/p>\n<p>The issue occurs when the Workflow Notification Mailer queue is full of junk data.<\/p>\n<p>The <em>wf_notifications<\/em>&nbsp;parameter has <strong>mail_status<\/strong>&nbsp;set to <em>MAIL<\/em>&nbsp;for closed notifications or <em>SENT&nbsp;<\/em>for open notifications.<\/p>\n<p>In this scenario, the <strong>wf\\_notification\\_out<\/strong>&nbsp;queue has very old entries from the <strong>wf_notifcations&nbsp;<\/strong>table. This occurrence sends an anomaly notification when the Workflow Background Process request&nbsp;parameters are incorrect.<\/p>\n<p><strong>Fix:<\/strong><\/p>\n<p>Use the following high-level steps to rebuild the Workflow Notification Mailer queue:<\/p>\n<p>1. Check with the customer about how to purge the old notifications.<br \/>\n2. Keep the date for reference, such as the <strong>begin_date<\/strong>.<br \/>\n3. Shut down Workflow Notification Mailer.<br \/>\n4. Close all the old <strong>OPEN<\/strong>&nbsp;notifications that are older than <strong>begin_date<\/strong>.<br \/>\n5. Update the <strong>mail\\_status<\/strong>&nbsp;to <strong>SENT<\/strong>&nbsp;for any notifications that are older than <strong>begin_date<\/strong>.<br \/>\n6. Rebuild the queue by using the following script as the <strong>APPS<\/strong>&nbsp;user:<\/p>\n<p><em>&nbsp;SQL&gt; @$FND_TOP\/patch\/115\/sql\/wfntfqup.sql apps &lt;APSS_PASSWD&gt; APPLSYS<\/em><\/p>\n<p><strong>Maintenance scripts for the Workflow Notification Mailer<\/strong><\/p>\n<p>The commands in this section help you to maintain the Workflow Notification Mailer. You can put the commands into scripts for your convenience.<\/p>\n<p><strong>Script 1<\/strong><\/p>\n<p>This script modifies the following settings:<\/p>\n<p>&#8211; <em>RUNNING<\/em><br \/>\n&#8211; <em>STARTING<\/em><br \/>\n&#8211; <em>STOPPED_ERROR<\/em><br \/>\n&#8211; <em>DEACTIVATED_USER<\/em><br \/>\n&#8211; <em>DEACTIVATED_SYSTEM<\/em><br \/>\n&#8211; <em>NOT_CONFIGURED<\/em><\/p>\n<p>Use the following commands to update the component_status for the Workflow Notification Mailer and modify the settings:<\/p>\n<p><em>&nbsp;SQL&gt; select component_status<br \/>\n&nbsp; &nbsp; from fnd_svc_components<br \/>\n&nbsp; &nbsp; where component_id =<br \/>\n&nbsp; &nbsp; (select component_id<br \/>\n&nbsp; &nbsp; from fnd_svc_components<br \/>\n&nbsp; &nbsp; where component_name = &#8216;Workflow Notification Mailer&#8217;<\/em>);<\/p>\n<p>&nbsp; COMPONENT_STATUS<br \/>\n&nbsp; &nbsp; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>\n&nbsp; &nbsp; STARTING<\/p>\n<p>\n<em>&nbsp; &nbsp; SQL&gt; update fnd_svc_components set component_status=&#8217;DEACTIVATED_SYSTEM&#8217; where component_id =<br \/>\n&nbsp; &nbsp; (select component_id<br \/>\n&nbsp; &nbsp; from fnd_svc_components<br \/>\n&nbsp; &nbsp; where component_name = &#8216;Workflow Notification Mailer&#8217;);<\/em><\/p>\n<p><em>&nbsp; &nbsp; 1 row updated<\/em><\/p>\n<p><em>&nbsp; &nbsp; SQL&gt; commit;<\/em><\/p>\n<p>Commit complete.<\/p>\n<p><strong>Script 2<\/strong><\/p>\n<p>You can use the following commands to set the Mailer <strong>STARTUP_MODE<\/strong>&nbsp;to <em>MANUAL<\/em>&nbsp;or <em>AUTOMATIC<\/em>:<\/p>\n<p><em>&nbsp; SQL&gt; select fsc.COMPONENT_NAME,fsc.STARTUP_MODE,fsc.COMPONENT_STATUS<br \/>\n&nbsp; &nbsp; from APPS.FND_CONCURRENT_QUEUES_VL fcq, fnd_svc_components fsc where fsc.concurrent_queue_id = fcq.concurrent_queue_id(+)<br \/>\n&nbsp; &nbsp; order by COMPONENT_STATUS , STARTUP_MODE , COMPONENT_NAME;<\/em><\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_article_images\/26413-body-Picture1_28.png\" alt=\"dba tips for oracle pic 1\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp; <em>SQL&gt; update fnd_svc_components fsc set fsc.STARTUP_MODE=&#8217;MANUAL&#8217; where fsc.COMPONENT_NAME=&#8217;Workflow Notification Mailer&#8217;;<\/em><\/p>\n<p><em>&nbsp; &nbsp; 1 row updated.<\/em><\/p>\n<p><em>&nbsp; &nbsp; SQL&gt; commit;<\/em><\/p>\n<p><em>&nbsp; &nbsp; Commit complete.<\/em><\/p>\n<p><strong>Script 3<\/strong><\/p>\n<p>This script updates the Workflow Notification Mailer password from the backend:<\/p>\n<p><em>&nbsp; &nbsp;SQL&gt; @wfmlrpwupd_in.sql<br \/>\n&nbsp; &nbsp; Enter value for password: *****<br \/>\n&nbsp; &nbsp; Enter value for componentid: 10006<br \/>\n&nbsp; &nbsp; Updated<\/em><\/p>\n<p><em>&nbsp; &nbsp; SQL&gt; @wfmlrpwupd_out.sql<br \/>\n&nbsp; &nbsp; Enter value for password: *****<br \/>\n&nbsp; &nbsp; Enter value for componentid: 10006<br \/>\n&nbsp; &nbsp; Updated<\/em><\/p>\n<p><strong>Script 4<\/strong><\/p>\n<p>Use the following single script to change the Workflow Notification Mailer values from the backend:<\/p>\n<p>&nbsp;<em>$FND_TOP\/sql\/afsvcpup.sql<\/em><\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_article_images\/26413-body-Picture2_22.png\" alt=\"dba tips for oracle pic 2\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_article_images\/26413-body-Picture3_17.png\" alt=\"dba tips for Oracle Pic 3\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Conclusion&nbsp;<\/strong><\/p>\n<p>The Workflow Notification Mailer has many components and some tricky issues. Make sure to back up the <strong>wf\\_\\ tables<\/strong> before updating them.<\/p>\n<p>Refer to the relevant Oracle MetaLink note before running a script to apply the fixes. MetaLink has&nbsp;many other scripts besides the ones included in this post that can help you resolve issues in&nbsp;the Workflow Notification Mailer.<br \/>\n&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This post discusses a few generic Oracle&reg; Workflow Notification Mailer issues that database administrators<br \/>\n(DBAs) face daily.<\/p>\n","protected":false},"author":2,"featured_media":7421,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","format":"standard","meta":{"content-type":"","nid":"26413","content_type":"blog","created_by":"10130","authored_on":"2023-12-22T12:13:04+00:00","field_article_industries":"","tag_category":"Technical","field_blog_author_text":"Ravishekhar Yelemane, Oracle Applications Database Administrator, Rackspace Technology","seo_description":"Discover solutions to common Workflow Notification Mailer issues, enhancing your management of Oracle Database systems.\r\n","field_featured_image":"","insights_image":"\/wp-content\/uploads\/2026\/blog_technical_images\/26413-insights_image-oracle-technical-blog-1-insights.jpg","field_partners":"","rxt_platforms":"Oracle","product":"","publisheddate":"2020-05-08T11:13:04","rxt_solutions":"Cloud Management & Operations","opengraph_tag":"","x_tag":"","teaser_flag":"Technical Blog","seo_titile":"Workflow Mailer Issues | Rackspace Technology","field_topics":"","field_slug":"dba-tips-for-handling-workflow-mailer-issues","footnotes":""},"categories":[178],"tags":[204],"class_list":["post-7419","blogs","type-blogs","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-technical"],"_links":{"self":[{"href":"https:\/\/www.rackspace.com\/de\/wp-json\/wp\/v2\/blogs\/7419","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rackspace.com\/de\/wp-json\/wp\/v2\/blogs"}],"about":[{"href":"https:\/\/www.rackspace.com\/de\/wp-json\/wp\/v2\/types\/blogs"}],"author":[{"embeddable":true,"href":"https:\/\/www.rackspace.com\/de\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rackspace.com\/de\/wp-json\/wp\/v2\/comments?post=7419"}],"version-history":[{"count":3,"href":"https:\/\/www.rackspace.com\/de\/wp-json\/wp\/v2\/blogs\/7419\/revisions"}],"predecessor-version":[{"id":9447,"href":"https:\/\/www.rackspace.com\/de\/wp-json\/wp\/v2\/blogs\/7419\/revisions\/9447"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rackspace.com\/de\/wp-json\/wp\/v2\/media\/7421"}],"wp:attachment":[{"href":"https:\/\/www.rackspace.com\/de\/wp-json\/wp\/v2\/media?parent=7419"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rackspace.com\/de\/wp-json\/wp\/v2\/categories?post=7419"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rackspace.com\/de\/wp-json\/wp\/v2\/tags?post=7419"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}