
{"id":7230,"date":"2021-04-30T18:52:22","date_gmt":"2021-04-30T18:52:22","guid":{"rendered":"https:\/\/rax-stg-wp-aws.com\/blogs\/fix-performance-issues-with-workflow-notification-mailer\/"},"modified":"2026-11-03T19:28:16","modified_gmt":"2026-11-03T19:28:16","slug":"fix-performance-issues-with-workflow-notification-mailer","status":"publish","type":"blogs","link":"https:\/\/www.rackspace.com\/en-gb\/blogs\/fix-performance-issues-with-workflow-notification-mailer\/","title":{"rendered":"Fix performance issues with Workflow Notification Mailer"},"content":{"rendered":"<p><strong>Introduction<\/strong><\/p>\n<p>When you introduce new business processes to your Oracle Enterprise Resource Planning (ERP) systems, you might experience a serious notification bottleneck at the application server level rather than the mailer level.<\/p>\n<p>This notification congestion is due to the sudden influx of notifications that business users don&#8217;t receive in time or that arrive two to three hours late.<\/p>\n<p>This post helps you improve your performance and make notifications appear in real time. The post-process completion of the ERP business notifications should reach the approver&#8217;s inbox instantaneously, and the email approval should also be reflected&nbsp;in the system immediately.<\/p>\n<p><strong>Steps to improve performance<\/strong><\/p>\n<p>This post offers four possible solutions for your notification performance problem. After you complete a solution&#8217;s steps, test the performance and see if it improved.<\/p>\n<p><strong>Solution 1: Manually rebuild the Notification Mailer queue (WF\\_NOTIFICATION\\_OUT)<\/strong><\/p>\n<p>1. Stop the Workflow Agent listeners and mailers.<br \/>\n2. Find the tablespace that creates <strong>CORRID<\/strong>&nbsp;indexes for queue tables:<\/p>\n<p><em>sqlplus apps\/&lt;apps_pwd&gt;<br \/>\n&nbsp;<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; select distinct tablespace_name<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from dba_indexes,dba_queues<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;where index_name=&#8217;WF_NOTIFICATION_OUT_N1&#8242;<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;and table_name=queue_table<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;and name like &#8216;WF%&#8217;;<\/em><\/p>\n<p>3. Rebuild the mailer&#8217;s queue:<\/p>\n<p>&nbsp; &nbsp; <em>sqlplus apps\/&lt;apps_pwd&gt; @$FND_TOP\/patch\/115\/sql\/wfntfqup APPS &lt;apps_pwd&gt; APPLSYS<\/em><\/p>\n<p>4. If the queue rebuild takes more than four or five hours (or never completes),&nbsp;run the following query:<\/p>\n<p>&nbsp;<em> select c.item_type child, decode(c.end_date,null,&#8217;OPEN&#8217;,&#8217;CLOSED&#8217;) child_status, c.parent_item_type parent, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; decode(c.parent_item_type,null,&#8217;NOPARENT&#8217;,decode(p.end_date,null,&#8217;OPEN&#8217;,&#8217;CLOSED&#8217;)) parent_status, count(*)<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; from<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; wf_items p,<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; wf_items c<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; where<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; p.item_type(+) = c.parent_item_type<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; and p.item_key(+) = c.parent_item_key<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; and c.item_type=&#8217;WFERROR&#8217;<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; group by c.item_type, decode(c.end_date,null,&#8217;OPEN&#8217;,&#8217;CLOSED&#8217;), c.parent_item_type , decode(c.parent_item_type,null,&#8217;NOPARENT&#8217;,decode(p.end_date,null,&#8217;OPEN&#8217;,&#8217;CLOSED&#8217;))<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; order by c.item_type , c.parent_item_type;<\/em><\/p>\n<p>If that query returns one or more items, those items in <strong>WFERROR<\/strong>&nbsp;status are&nbsp;still open, or their parent Workflow item is still open. The program&nbsp;<em>Purge Obsolete Workflow Runtime Data<\/em> concurrent request, <strong>FNDWFPR<\/strong>, purges only closed items. You can raise an Oracle Service Request (SR) or see&nbsp;<a href=\"https:\/\/support.oracle.com\/knowledge\/Oracle%20E-Business%20Suite\/804622_1.html\">How to Purge WFERROR (System: Error) Workflow Items. (Doc ID 804622.1<\/a>)&nbsp;for help.<\/p>\n<p>5. Recreate the index on the <strong>CORRID<\/strong>&nbsp;column:<\/p>\n<p>&nbsp;<em> &nbsp; &nbsp; &nbsp;sqlplus applsys\/&lt;applsys_pwd&gt;<\/em><br \/>\n&nbsp;<br \/>\n&nbsp; <em>&nbsp; &nbsp; &nbsp; CREATE INDEX WF_NOTIFICATION_OUT_N1<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; ON WF_NOTIFICATION_OUT(CORRID)<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; STORAGE (INITIAL 1M NEXT 1M MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0)<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; TABLESPACE &amp;tbs;&nbsp;<\/em><\/p>\n<p>6. When prompted for the tablespace, enter the tablespace name from Step 2.<\/p>\n<p>7. Start the Workflow Agent listeners and mailers<\/p>\n<p><strong>Solution 2: Increase the outbound thread count to two<\/strong><\/p>\n<p>1. Log in to the Oracle Application Manager and click <strong>Notification Mailer<\/strong>.<br \/>\n2. If the Notification Mailer service is running, select <strong>Stop<\/strong>&nbsp;in the right-hand<br \/>\n&nbsp; &nbsp;corner of the row, and click <strong>Go<\/strong>.<br \/>\n3. Wait until it stops and the *user deactivated* indication displays.<br \/>\n4. Click <strong>Edit<\/strong> and <strong>Advanced<\/strong>.<br \/>\n5. Click <strong>Next<\/strong>. If the Outbound thread count is `1`, change it to `2`.<br \/>\n6. Click <strong>Next<\/strong>&nbsp;on the remaining screens.<\/p>\n<p><strong>Solution 3: Check that all indexes are present for the WF\\_NOTIFICATION\\_OUT queue<\/strong><\/p>\n<p>If an index is missing, add it.<\/p>\n<p><strong>Solution 4: Create a new mailer service<\/strong><\/p>\n<p>The solution has three parts:<\/p>\n<p><strong>Part A: Create a new mailer service<\/strong><\/p>\n<p>&nbsp;1. Select <strong>Workflow administrator Web Applications Responsibility<\/strong>.<br \/>\n&nbsp;2. Select the <strong>Workflow Manager<\/strong>&nbsp;menu option.<br \/>\n&nbsp;3. Click on the <strong>Service Components<\/strong> icon<br \/>\n&nbsp;4. Click on the <strong>Workflow Mailer Service<\/strong>&nbsp;link in the <strong>Container<\/strong>&nbsp;column.<br \/>\n&nbsp;5. Click <strong>Create New<\/strong>.<br \/>\n&nbsp;6. Enter the following parameters:<br \/>\n&nbsp; &nbsp; &nbsp;&#8211; <strong>Enabled<\/strong>: check this flag.<br \/>\n&nbsp; &nbsp; &nbsp;&#8211; <strong>Manager<\/strong>: Enter the Mailer service name (such as Mailer Service HR).<br \/>\n&nbsp; &nbsp; &nbsp;&#8211; <strong>Short Name<\/strong>: HR_MLR.<br \/>\n&nbsp; &nbsp; &nbsp;&#8211; <strong>Application<\/strong>: Application Object Library.<br \/>\n&nbsp;7. Click <strong>Add<\/strong> from <strong>Available Shifts<\/strong>.<br \/>\n&nbsp;8. Move the <strong>Standard: Active 24 hours<\/strong>everyday shift from left to right.<br \/>\n&nbsp;9. Click <strong>OK<\/strong>.<br \/>\n&nbsp;10. Click <strong>Save<\/strong><\/p>\n<p><strong>Part B: Create a new mailer and link it to the new mailer service from Part A<\/strong><\/p>\n<p>&nbsp;1. Select <strong>Workflow Administrator Web Applications Responsibility<\/strong>.<br \/>\n&nbsp;2. Select the <strong>Workflow Manager<\/strong> menu option.<br \/>\n&nbsp;3. Click the <strong>Notification Mailers<\/strong>&nbsp;icon.<br \/>\n&nbsp;4. Click &nbsp;<strong>Create<\/strong> on the right-hand side.<br \/>\n&nbsp;5. Select <strong>Workflow Mailer<\/strong>.<br \/>\n&nbsp;6. Click <strong>Continue<\/strong>.<br \/>\n&nbsp;7. Enter the <strong>Name<\/strong>, such as <em>HR_MLR<\/em>, and enter the rest of the values on that page.<br \/>\n&nbsp;8. Click <strong>Advanced<\/strong>.<br \/>\n&nbsp;9. Enter the <strong>Correlation id<\/strong>: <em>HXCEMP:%<\/em>.<br \/>\n&nbsp;10. Enter the rest of the parameters with the same values as in the seeded WF&nbsp;Mailer except the Container, which you should set to the Workflow Service created in step# A. This is a crucial step. If you don&#8217;t select this service,&nbsp;the solution won&#8217;t work.<br \/>\n&nbsp;11. Click <strong>Finish<\/strong>.<\/p>\n<p><strong>Part C: Make sure the mailer service is linked properly<\/strong><\/p>\n<p>After completing the previous parts, run the following query to find out if the<br \/>\n<strong>HR_MLR New Mailer<\/strong>&nbsp;service is linked to the new <strong>HR_MLRMailer<\/strong><\/p>\n<p>\n<strong>&nbsp; &nbsp; &nbsp;<\/strong> &nbsp;<em> select fcq.USER_CONCURRENT_QUEUE_NAME Mailer_Service,<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fcq.ENABLED_FLAG ENABLED, fsc.COMPONENT_NAME Mailer_Name,<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fsc.STARTUP_MODE, fsc.COMPONENT_STATUS<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; from APPS.FND_CP_SERVICES fcs,fnd_svc_components fsc, APPS.FND_CONCURRENT_QUEUES_VL fcq<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;where fcs.SERVICE_HANDLE = &#8216;FNDCPGSC&#8217;<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;and fsc.component_type = &#8216;WF_MAILER&#8217;<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;and fsc.concurrent_queue_id = fcq.concurrent_queue_id(+)<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;order by fsc.STARTUP_MODE;<\/em><\/p>\n<p><strong>Note<\/strong>: If, after creating a new workflow mailer service, you find genuine emails going into the DISCARD folder, see&nbsp;<a href=\"https:\/\/support.oracle.com\/knowledge\/Oracle%20E-Business%20Suite\/333444_1.html\">Workflow Mailer Randomly Moves Response E-mail Notifications to the Discard Folder (Doc ID 333444.1<\/a>).<br \/>\nYou probably have not created separate IMAP accounts for each mailer.<\/p>\n<p><strong>Conclusion<\/strong><\/p>\n<p>This post presented four solutions to Oracle ERP notification performance issues, from rebuilding the queue to creating a new queue. &nbsp;Hopefully, these options solve your problems.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Fix performance issues with Workflow Notification Mailer<\/p>\n","protected":false},"author":2,"featured_media":7232,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","format":"standard","meta":{"content-type":"","nid":"26325","content_type":"blog","created_by":"10130","authored_on":"2023-11-30T19:52:22+00:00","field_article_industries":"","tag_category":"Technical","field_blog_author_text":"by Dilip Singh, Oracle Applications Database Administrator, Rackspace Technology","seo_description":"Troubleshoot and improve performance issues in Oracle ERP systems, especially Workflow Notification Mailers. Enhance business process efficiency.\r\n","field_featured_image":"","insights_image":"\/wp-content\/uploads\/2026\/blog_technical_images\/26325-insights_image-database-technical-blog-2-insights.jpg","field_partners":"","rxt_platforms":"Oracle, PostgreSQL","product":"","publisheddate":"2021-04-30T18:52:22","rxt_solutions":"Data, Databases, Data Management","opengraph_tag":"","x_tag":"","teaser_flag":"Technical Blog","seo_titile":"Performance Issues Workflow Notification Mailer | Rackspace","field_topics":"","field_slug":"fix-performance-issues-with-workflow-notification-mailer","footnotes":""},"categories":[178],"tags":[204],"class_list":["post-7230","blogs","type-blogs","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-technical"],"_links":{"self":[{"href":"https:\/\/www.rackspace.com\/en-gb\/wp-json\/wp\/v2\/blogs\/7230","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rackspace.com\/en-gb\/wp-json\/wp\/v2\/blogs"}],"about":[{"href":"https:\/\/www.rackspace.com\/en-gb\/wp-json\/wp\/v2\/types\/blogs"}],"author":[{"embeddable":true,"href":"https:\/\/www.rackspace.com\/en-gb\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rackspace.com\/en-gb\/wp-json\/wp\/v2\/comments?post=7230"}],"version-history":[{"count":1,"href":"https:\/\/www.rackspace.com\/en-gb\/wp-json\/wp\/v2\/blogs\/7230\/revisions"}],"predecessor-version":[{"id":7231,"href":"https:\/\/www.rackspace.com\/en-gb\/wp-json\/wp\/v2\/blogs\/7230\/revisions\/7231"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rackspace.com\/en-gb\/wp-json\/wp\/v2\/media\/7232"}],"wp:attachment":[{"href":"https:\/\/www.rackspace.com\/en-gb\/wp-json\/wp\/v2\/media?parent=7230"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rackspace.com\/en-gb\/wp-json\/wp\/v2\/categories?post=7230"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rackspace.com\/en-gb\/wp-json\/wp\/v2\/tags?post=7230"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}