Presentation is loading. Please wait.

Presentation is loading. Please wait.

Jerry Ireland Principal, RIGHTSIZING, INC.

Similar presentations


Presentation on theme: "Jerry Ireland Principal, RIGHTSIZING, INC."— Presentation transcript:

1 Jerry Ireland Principal, RIGHTSIZING, INC.
Making Workflow Flow Jerry Ireland Principal, RIGHTSIZING, INC.

2 Introduction About the Speaker Oracle Ace –Application Development
Over 30 years Oracle Consulting Over 20 years E-Business Suite support 15 years Oracle Workflow Over 100 presentations Over 20 year member of ODTUG and OAUG Currently ODTUG Board of Directors

3 About the Audience EBS Version Database Version Job Role OAUG member
12.0 12.1 Database Version 10gR2 11gR1 11gR2 Job Role System Admin Workflow Admin DBA Functional OAUG member OAUG Workflow SIG member

4 Agenda Introduction Patch Current Performance Data Footprint
Error Handling Notifications Order Management

5 Patch Current WF part of ATG group Very time consuming and complicated
Effect most products Pseudo Product AME and HR products integral parts Very time consuming and complicated 1-Offs, Family Packs, Mini Packs More recent versions in other patches Prerequisites prerequisites of prerequisites ---

6 Patch Current Sample Spreadsheet
R Upgrade Compliled by Karen Brownfield, John Peters, and Me To be considered on top of Starting Point Do your own verification and research Sample Spreadsheet

7 Patch Current Recommended Patches
How to find Latest Recommended Patches for E-business suite R12 or 11i Patchset Levels Application Name, Product Version, Current Patch Level, Status (Installed, Shared Product, Inactive) AD_TOP/sql/adutconf.sql or Workflow Analyzer Or Log into OAM Support Cart  Applications Signature Collect "Product Information“  View

8 Patch Current Patch Comparison
Oracle Applications Current Patchset Comparison Utility – patchsets.sh Checks against internal tables for applied patches Depends on file from Oracle ftp site for nightly new list of most recent patchset/family packs List of missing patches Workflow Analyzer

9 Patch Current Patch Wizard 976188.1
Downloads info bundles with meta data and code levels Creates recommendations Does an impact analysis Files effected Recommended or code level update Flag files that you want alert when changed ( customized?) For a more detailed look at the Patch Wizard look for ORACLE E-BUSINESS SUITE PATCH WIZARD PATH TO LESS ERRORS by John Stouffer

10 Patch Current Patch Wizard Workflow Analyzer
R12 - Prereqs are stated as Code levels to make it easier to identify which patches satisfy the prereq Workflow Analyzer

11 Workflow Analyzer “Workflow Analyzer script for E-Business Suite Workflow Monitoring and Maintenance” This is a must!!!! Can be run by concurrent manager It is updated frequently so download new script often SQL used to produce results are available on report

12 Workflow Analyzer Workflow Administration Workflow Footprint
Workflow Concurrent Programs Workflow Notification Mailer Workflow Patch Levels Workflow Analyzer Sample

13 Patch Current None of the tools do a complete job with :
Prerequisites of prerequisite patches 1-Off patches Conditional patches Workflow Analyzer does the best Must read documentation on all patches

14 Performance Patches Init.ora Advanced Queuing Notification Mailers
Database Profile Options Data Footprint Workflow Analyzer History Loopers Notifications New Features

15 Performance Patches Recommended Performance Patches
– Section 7: Applications Technology Products and Components Download and read ALL documentation Bug – purge performance if earlier than RUP 7 Some but not all included in Workflow Analyzer

16 Performance - init.ora AQ_TM_PROCESSES JOB_QUEUE_PROCESSES
Must be at least 1 for background process to run for databases prior to 10g Auto tuning (don’t set) gets better performance for 10g on JOB_QUEUE_PROCESSES 5 for 10 for and 12 Oracle seeds value as 2

17 Performance Advanced Queuing
Ensure Advanced Queuing not set for statement or debug logging FND: Debug Log Enabled – No FND: Debug Log Level – Unexpected FND: Debug Log Modules – NULL Make sure log level on all listeners is set to Error

18 Performance Advanced Queuing
Rebuild/coelesce Indexes/IOTS regularly Reduce QMON CPU usage and Redo generation Database < 11.2 Garbage collection on dequeue indexes/IOTS already performed No space management for time-management, history, spillover Run at least once a day during quiet period Can be executed while enqueue/dequeue running describes a way to automate

19 Performance Advanced Queuing
Rebuild/coelesce Indexes/IOTS regularly Database >= 11.2 Runs automatically as needed Can still be run manually if necessary Cleanup Control Queue Troubleshooting WF_CONTROL Agent Issues” Controls all queues Run every 12 hours

20 Performance Advanced Queuing
“Troubleshooting Workflow Agent Listener’s failure to start” Business Event System not enabled WF_CONTROL queue related issues Workflow Agents have an invalid SYSTEM_GUID in WF_AGENTS and WF_RESOURCES tables Queues are missing Queues are invalid Queue Handlers are missing or are invalid Technology stack setup issues

21 Performance Advanced Queuing
“Troubleshooting Workflow Agent Listener’s failure to start” Start investigating by setting Container log level at STATEMENT and reproducing the issue. Follow detailed instructions in the MOS to determine if any of the above problems exist

22 Performance Notification Mailers
Define dedicated mailers for high volume item types and WFERROR Maintaining mailer parameters Autoconfig Context File Username Inbound server name Outbound server name Reply-to address

23 Performance Notification Mailers
Maintaining mailer parameters Changing Username, Inbound server name, Reply-to address in Workflow Manager automatically make changes in context file Changing Outbound server name does not Have to manually change it in context file

24 Performance Database Pin Top Apps PL/SQL packages by executions
Partition Tables How to Partition tables in OWF.G $FND_TOP/sql/wffngen.sql Translates activity function calls into static calls Add high volume item types to itemtypeList_t Can not customize items in the list

25 Performance Profile Options
Account Generator: Run in Debug Mode Yes – status information is saved to the Workflow history tables. No – no status information is saved increase performance Reduce wait time

26 Performance Profile Options
Purchasing: Workflow Processing Mode Online - run Purchase Order and Requisition workflows online when transactions are created. Background - deferred to the Background Engine. can increase throughput Make sure you have a Background Engine to run these deferred processes

27 Performance - Other As needed Attributes
Many attributes never get a value 11,114,390 APCCARD 2,757,722 HRSSA 2,621,399 WFERROR 2,601,654 OTWF 1,577,750 PAXWFHRU 1,346,090 IRC_NTF 1,090,962 OEOL Put a special attribute #ONDEMANDATTR at top-level runnable process activity Attribute record created only when populated Save over 22 million rows

28 Performance Data Footprint Runtime Data
Closed Not Purged Item Type Item Type Status Item Type Count Closed Activity Count Activity History Count OEOL CLOSED 36,793 1,029,344 724,508 WFERROR 1,604 8,008 7 OEOH 1,568 20,158 46 XXHXCEMP 1,082 15,680 78 HRSSA 586 6,498 1,567 FUNIMAIN 432 4,740 - XXCRPO 379 6,475 REQAPPRV 305 23,847 5,275 PORPOCHA 293 2,500 357 HXCEMP 267 5,130 22 POAPPRV 213 21,284 766 CREATEPO 154 4,392 SERVICE 127 1,221 276,277 IRC_NTF 117 468 Error Activities COUNT ITEM_TYPE ACTIVITY_NAME MIN(BEGIN_DATE) MAX(BEGIN_DATE) 82,697 OKSWARWF OKSMSGNOTIFY 23-FEB-08 29-SEP-10 17,469 OTWF OTA_MGR_TEST_RESULT_NTF 05-MAR-09 14-JUN-12 6,367 IRC_NTF IRC_NOTIFICATION_PRC 15-MAY-12 22-AUG-12 2,546 XIAPINV XIAP_NO_RESPONSE 04-APR-03 25-MAR-11 1,616 APEXP SET_STATUS_APPROVER_AND_DATE 24-MAY-07 09-DEC-11 972 HXCEMP UPDATE_APP_PERIOD 02-AUG-06 17-NOV-11 942 ENROLLMENT_CANCELLED 17-JUN-04 15-DEC-11 868 SERVICE XI_INITIALIZE_CASE_ATTR 04-JAN-08 15-OCT-12 601 POAPPRV DOES_USER_WANT_DOC_ ED 19-MAY-03 15-NOV-11 583 SET_CASE_LEVEL_ATTR 08-JAN-08 25-JUN-12 562 XIAP_REQUEST_APPR 09-SEP-05 13-AUG-12 428 SET_ACTION_ITEM_ATTR 14-AUG-12 423 XIAP_NUMBER_OF_APPROVERS 03-MAR-05 16-AUG-12 396 XIAP_RETRIEVE_INVOICE_INFO 07-JUL-04 09-OCT-12 383 XIAP_PROCESS_NOT_CONTINUE 15-SEP-06 11-MAR-10 356 IRCOFFER SEND_APL_RESPONSE_NOTIF 24-APR-08 30-JUL-12 345 SEND_RCVD_NOTIF 20-JUL-07 296 XLXIRC NEW_APPLICATION_NTF 17-NOV-08 20-APR-12 162 BENCWBFY WS_SUB_NTF 03-NOV-09 25-MAY-12 153 SERVEREQ GET_REQUEST_ATTRIBUTES 06-JUN-07 15-OCT-11 134 XIAP_APPR_NORESPONSE 21-FEB-08 13-JUN-12 122 WFERROR DEFAULT_RESET_ERROR_NTF 31-MAR-03 19-NOV-09 114 HRSSA OTA_LEARNER_CANCEL_ENROLLMENT 01-JUN-07 13-JUL-12

29 Performance Data Footprint Runtime Data
Loopers Item Type Item Key Count OEOL 495,238 SERVICE 230729 400,491 243091 400,799 242705 405,356 242561 407,743 242047 416,584 241630 420,581 240737 433,300 240611 434,259 240601 434,357 240598 434,455 240165 436,877 238595 447,531 238525 447,986 238017 449,603 236875 455,161 236870 455,056 236072 458,766 234570 467,530 233535 472,878 231991 483,511 231966 483,574 231871 484,400 230235 497,588 229748 502,726 229393 505,218 229373 505,302 224414 544,327 216496 604,555 215922 515,921 Total 13,406,435 History by Month Item Type Month Count SERVICE 2013_07 5,156,266 2013_05 5,029,649 2013_06 4,645,925 2013_04 4,220,156 2013_03 3,280,853 2013_01 2,907,122 2012_12 2,655,904 2013_02 2,397,927 2012_11 2,337,959 2012_10 2,090,576 2012_07 1,911,167 2012_08 1,842,549 2012_09 1,812,961 2012_06 1,791,621 2012_05 1,746,126 2012_03 1,695,899 2011_10 1,688,064 Performance Data Footprint Runtime Data Runtime History Item Types Item Type Count WFERROR 211,313 APCCARD 107,080 OKSWARWF 82,697 OTWF 75,105 OEOL 64,467 PAXWFHRU 36,257 OKCAUKAP 31,847 XDPWFSTD 24,002 OEOH 23,273 IRC_NTF 20,151 HRSSA 13,914 XIAPINV 9,775 SERVICE 4,399 APEXP 2,681 HXCEMP 1,455 XXHXCEMP 1,443 POAPPRV 954 HRSFL 847 OMERROR 795

30 Performance Data Footprint
PURGE Speeding Up And Purging Workflow Yet another list of patches to be included Gather Histogram Stats Use wfretry.sql script to clear individual errors Use bde_wf_retry.sql based on item type and process

31 Performance Data Footprint
Why are things not purging? Purge processes not covering all item types Background Engines not runing Error workflow called and not complete Notification not responded to Parent or child workflow not complete Proper listeners not started

32 Purge processes not covering all item types
Schedule Nightly or at minimum Weekly Parameters Leave Item Type/Item Key blank – All types Age – between 7 and 14 Persistence Type One Temporary and one Permanent Core Workflow Only – Set to Y Run with value set to N monthly Commit Frequency – leave at default – 500

33 Background Engines not running
Run separate Engines for Stuck Parameters NULL, NULL, NULL, No, No, Yes Once/Week or more And Timed Out Parameters NULL, NULL, NULL, No, Yes, No Base timing on average timeout times

34 Background Engines not running
Run Engine for Deferred activities separately More often than 15 minutes is unusual Run targeted engines for high volume item types or item types that need faster responses (OEOL?) Parameters: Order Line, NULL, NULL, Yes, No, No Run generic every minutes Parameters: NULL, NULL, NULL, Yes, No, No

35 Error Handling Start with error workflows Basic process
Query for items with open error workflows Start with largest volumes Query Details Track down the cause Fix the problems

36 Error Handling Query open errors
WFERROR not the only error (thanks Karen Brownfield) SELECT item_type, parent_item_type, DECODE (end_date, NULL, 'OPEN', 'CLOSED') error_type_status, COUNT (*) FROM wf_items WHERE parent_item_type is not null AND item_type in ('CUNNLWF','DOSFLOW','DOSFLOWE', 'ECXERROR', 'HRSSA', 'HRSTAND', 'HXCEMP', 'IBUHPSUB', 'OKLAMERR', 'OMERROR', 'PARMAAP', 'PARMATRX', 'POERROR', 'WFSTD', 'XDPWFSTD', 'ZPBWFERR', 'WFERROR') GROUP BY item_type,parent_item_type, DECODE (end_date, NULL, 'OPEN', 'CLOSED') ORDER BY 4 desc, item_type, parent_item_type; Error output

37 select ias. item_type ,ap. NAME process ,ac. name Activity ,ias
select ias.item_type ,ap.NAME process ,ac.name Activity ,ias.activity_result_code Result ,Count(*) Errcount from wf_item_activity_statuses ias, wf_process_activities pa, wf_activities ac, wf_activities ap, wf_items i where ias.activity_status = 'ERROR' and ias.process_activity = pa.instance_id and pa.activity_name = ac.name and pa.activity_item_type = ac.item_type and pa.process_name = ap.name and pa.process_item_type = ap.item_type and pa.process_version = ap.version and i.item_type = ias.item_type and i.item_key = ias.item_key and i.begin_date >= ac.begin_date and i.begin_date < nvl(ac.end_date, i.begin_date+1) group by ias.item_type, ias.error_name, ap.NAME, ac.name, ias.activity_result_code having Count(*) > 100 order by ErrCount desc; Error Handling Item Type Process Activity Result Error Count OKSWARWF OKSWARPROC OKSMSGNOTIFY #EXCEPTION 82,697 OTWF OTA_ASSESSMENT_NTF_JSP_PRC OTA_MGR_TEST_RESULT_NTF 73,290 IRC_NTF ROOT IRC_NOTIFICATION_PRC 20,150 XIAPINV XIAP_NO_APPR_RESPONSE_PROCESS XIAP_NO_RESPONSE #MAIL 2,440 APEXP AP_EXPENSE_REPORT_PROCESS SET_STATUS_APPROVER_AND_DATE 1,615 HXCEMP HXC_APPLY_NOTIFY UPDATE_APP_PERIOD #NORESULT 972 OTA_MANUAL_WAITLIST ENROLLMENT_CANCELLED 946 SERVICE PAST_DUE_ACTION_NOTIFICATION SET_CASE_LEVEL_ATTR 750 CUSTOMER_NOTIFICATIONS XI_INITIALIZE_CASE_ATTR 530 XIAP_REQUEST_APPROVAL_PROCESS XIAP_REQUEST_APPR 522 XIAP_APPROVAL_ROUTING_PROCESS XIAP_NUMBER_OF_APPROVERS 517 POAPPRV _DOC_PROCESS DOES_USER_WANT_DOC_ ED 459 XIAP_INVOICE_APPROVAL_PROCESS XIAP_RETRIEVE_INVOICE_INFO 399 XIAP_PROCESS_NOT_CONTINUE 383 347 NTF_CCM_AA_PAST_DUE 340 BENCWBFY WS_SUBMITTED_PROC WS_SUB_NTF 328 XLXIRC XLX_IRC_NEW_APPL NEW_APPLICATION_NTF 314 HRSSA HR_HRSSA_V5_APPROVED_PRC HR_HR_COMMAPPLERR_V4_NTF 273 IRCOFFER IRC_SEND_RCVD SEND_RCVD_NOTIF 261 IRC_APL_RESPONSE SEND_APL_RESPONSE_NOTIF 234 CCM_CASE_NOTIFICATION 198 HIGH_SEVERITY_CASE 197 SET_ACTION_ITEM_ATTR 164

38 Error Handling Error Detail
select * from (select ias.item_type ,ap.NAME process ,ac.name Activity ,ias.activity_result_code Result ,ias.error_name ERROR_NAME ,ias.error_message ERROR_MESSAGE ,ias.error_stack ERROR_STACK ,Count(*) Errcount from wf_item_activity_statuses ias, wf_process_activities pa, wf_activities ac, wf_activities ap, wf_items i where ias.activity_status = 'ERROR' and ias.process_activity = pa.instance_id Error Details and pa.activity_name = ac.name and pa.activity_item_type = ac.item_type and pa.process_name = ap.name and pa.process_item_type = ap.item_type and pa.process_version = ap.version and i.item_type = ias.item_type and i.item_key = ias.item_key and i.begin_date >= ac.begin_date and i.begin_date < nvl(ac.end_date, i.begin_date+1) GROUP BY ias.item_type, ias.error_name, ap.NAME, ac.name, ias.activity_result_code , ias.error_message , ias.error_stack order by ErrCount desc) where rownum < 25 Error Handling Error Detail

39 Error Handling bde_wf_item.sql
Output Workflow data for a single workflow item to research causes. Provides details of everything that happens to an item Output data for: WF_ITEMS WF_ITEM_ATTRIBUTE_VALUES WF_ITEM_ACTIVITY_STATUSES WF_ITEM_ACTIVITY_STATUSES_H (Summary) WF_NOTIFICATIONS

40 bde_wf_item.sql Item Activity Statuses - Internal Names Select ap.name||':'||ap.version||'/'||pa.instance_label||'/'||ac.name||':'||ac.version Activity, ias.process_activity instance_id, ias.activity_status Status, ias.activity_result_code Result, ias.assigned_user ASGND_USER, ias.notification_id NID, ntf.status "Status", to_char(ias.begin_date,'DD-MON-YY HH24:MI:SS') begin_date, to_char(ias.end_date,'DD-MON-YY HH24:MI:SS') end_date, ac.function_type, ac.function from wf_item_activity_statuses ias, wf_process_activities pa, wf_activities ac, wf_activities ap, wf_items i, wf_notifications ntf select ap.name||'/'||pa.instance_label Activity, ias.process_activity instance_id, ias.activity_status Status, ias.activity_result_code Result, ias.assigned_user ASGND_USER, ias.notification_id NID, ntf.status "Status", to_char(ias.begin_date,'DD-MON HH24:MI:SS') begin_date, to_char(ias.end_date,'DD-MON HH24:MI:SS') end_date from wf_item_activity_statuses ias, wf_process_activities pa, wf_activities ac, wf_activities ap, wf_items i, wf_notifications ntf

41 bde_wf_item.sql Item Activity Statuses - Internal Names where ias.item_type = '&item_type_selected' and ias.item_key = '&item_key_selected' and ias.process_activity = pa.instance_id and pa.activity_name = ac.name and pa.activity_item_type = ac.item_type and pa.process_name = ap.name and pa.process_item_type = ap.item_type and pa.process_version = ap.version and i.item_type = '&item_type_selected' and i.item_key = ias.item_key and i.begin_date >= ac.begin_date and i.begin_date < nvl(ac.end_date, i.begin_date+1) and ntf.notification_id(+) = ias.notification_id order by ias.begin_date, ias.execution_time; where ias.item_type = '&item_type_selected' and ias.item_key = '&item_key_selected' and ias.process_activity = pa.instance_id and pa.activity_name = ac.name and pa.activity_item_type = ac.item_type and pa.process_name = ap.name and pa.process_item_type = ap.item_type and pa.process_version = ap.version and i.item_type = '&item_type_selected' and i.item_key = ias.item_key and i.begin_date >= ac.begin_date and i.begin_date < nvl(ac.end_date, i.begin_date+1) and ntf.notification_id(+) = ias.notification_id order by ias.begin_date, ias.execution_time;

42 bde_wf_item.sql Item Activity Status History Summary
select count(*) COUNT, STH.PROCESS_ACTIVITY PROCESS_ACTIVITY, PRA.INSTANCE_LABEL ACTIVITY_LABEL, STH.ACTIVITY_RESULT_CODE ACTIVITY_RESULT_CODE from wf_item_activity_statuses_h STH, wf_process_activities PRA where STH.item_type = '&item_type_selected' and STH.item_key = '&item_key_selected' and PRA.instance_id(+) = STH.process_activity group by STH.process_activity, PRA.INSTANCE_LABEL, STH.ACTIVITY_RESULT_CODE; select count(*) COUNT, STH.PROCESS_ACTIVITY||':'||PRA.PROCESS_VERSION PROCESS_ACTIVITY, PRA.INSTANCE_LABEL ||':'||act.version||'|'||ACT.BEGIN_DATE ACTIVITY_LABEL, STH.ACTIVITY_RESULT_CODE ACTIVITY_RESULT_CODE from wf_item_activity_statuses_h STH, wf_process_activities PRA, wf_activities ACT where STH.item_type = '&item_type_selected' and STH.item_key = '&item_key_selected' and PRA.instance_id(+) = STH.process_activity and act.item_type = pra.activity_item_type and act.name = pra.activity_name group by STH.process_activity||':'||PRA.PROCESS_version, PRA.INSTANCE_LABEL||':'||act.version||'|'||ACT.BEGIN_DATE, STH.ACTIVITY_RESULT_CODE order by 2, 3; bde_wf_item_OEOH_ rtf bde_wf_item_OEOL_ rtf bde_wf_item_SERVICE_ rtf

43 Error Handling bde_wf_clean_worklist worklist items that are open
tied to errant activities no longer in an ERROR state. retry them to close them out

44 Events SELECT COUNT (*),v.text_value ,min(i.begin_date) ,max(i.begin_date) FROM wf_item_attribute_values v ,wf_items i event counts WHERE v.item_key=i.item_key AND v.item_type = i.item_type AND v.item_type = 'WFERROR' AND v.NAME = 'EVENT_NAME' AND v.text_value IS NOT NULL GROUP BY text_value ORDER BY 4 DESC,1 DESC,text_value;

45 Clean up Event Errors accept nodays prompt “Enter days of open history to keep:” accept type prompt “Enter WFERROR event to purge:” update wf_items wi set wi.end_date = SYSDATE where wi.item_type =‘WFERROR’ and wi.end_date is null and trunc(wi.begin_date) < trunc(sysdate - &nodays) and exists ( select null from wf_item_attribute_values wiav where waiv.item_key = wi.item_key and waiv.item_type = ‘WFERROR’ and waiv.name = ‘EVENT_NAME’ and waiv.text_value = ‘&type’); update wf_item_activity_statuses set end_date = SYSDATE where item_type = ‘WFERROR’ and end_date is null and item_key in ( select item_key from wf_items and trunc(end_date) = trunc(SYSDATE); Karen Brownfield

46 History Loopers History records
Created whenever a workflow passes through an activity it has already done before Most often bad code Example Workflow checks on available resource (inventory..) When it finds what it needs it goes on Otherwise it WAITs for some time and checks again Sometimes as often as every 5 minutes Like the million second Quiz!!!

47 History Loopers How to fix these
If you have to do it this way make sure the interval is reasonable. Do you really have to respond in 5 minutes? Put the workflow in a deferred state instead Another program runs against the deferred list and does the checking and tells the workflow to go on No history created

48 History Loopers There is a gotcha!!!!!
When you change the workflow it creates a new version Workflow deals with multiple versions of a process by always running the same version it started with. So all of the millions of processes that have been generating all the history will go right on doing it New ones will do the right thing

49 History Loopers There is a gotcha!!!!! SQL to the rescue
I don’t know of a supported way of fixing this problem SQL to the rescue Modify the end dates of the loopers Start a new workflow to deal with these Purge/delete the old ones Change the old versions by replacing the actual activities of the old versions with new ones Certainly can change the wait time easily

50 There is a gotcha!!!!! SQL to the rescue
OK there is one way of at least getting rid of the history footprint – probably without Oracle getting their shorts in a twist SQL to the rescue Create a concurrent process that periodically deletes the history for these loopers No ill effects of removing them Depending on your database version you may want to be sure the high water mark is adjusted after initial run You will be unnecessarily creating and deleting millions of rows per month

51 Notifications Many open workflows due to problems with notifications
Errors Performer does not exist Role does not exist information missing Can usually be fixed by updating this information in the tables Can modify performer in workflow tables

52 Notifications Many open workflows due to problems with notifications
Notification is not responded to in a timely way Too many left with default sysadmin and sysadmin can not keep up Some one is away or is no longer employed Keep directory information up to date synchronize ROLES and USERS Run Directory Services Validation

53 Notifications Many open workflows due to problems with notifications
Personalize Notification page to provide more relevant information - flexfields Create hierarchies of responsibility Make sure notifications are targeted to people that are close to the tasks being performed For a more detailed discussion of this Workflow Troubleshooting in Release 12 by Susan Behn

54 Order Management Often causes trouble when you have a parent and child relationship If any line is not completed the header can’t be purged Lines can’t be purged till the header is completed OM gets some special attention

55 Order Management Data fix patches
Order Management Suite – Some Data Fix Patches and Scripts Patch Current!!!!!!!!!

56 Order Management Known problem fixes
– RMA Stuck With Awaiting Disposition; FRM-40212: Invalid value for field OE_ORDER_NUM – Apply patch – data-fix scripts ontd0015.sql – lines stuck in AWAITING_RETURN_DISPOSITION See when this doesn’t work ontd0018.sql – lines stuck in AWAITING_RETURN

57 Order Management Known problem fixes
Receipts For Drop Ship Purchase Orders Fail With Rvtii-060-Subroutine initpu() returned error – – CU2 Orphan reservations exist. – remove The onhand quantity is less than zero. – Misc receipt to make the on-hand quantity zero. Process – set on-hand back to negative Inventory controls have changed - Note

58 Order Management Concurrent Programs
– How to use Concurrent Program “Purge Order Management Workflow Purges sales order lines even when header is still open Should be run frequently Parameters Workflow Item Type Workflow Item key Elapsed days After Closure Attempt to Close - Close header when lines are holding things up but are really closed Commit Frequency

59 Order Management Concurrent Programs
Order Management Exception Management: Retry Activities in Error Concurrent Program Provides retry in bulk Runs across organizations Works on: OM Order Header OM Send Acknowledgement OM Order Line OM Show Sales Order OM Negotiation Header OM EDI Workflow OM Blanket Header OM Change Order OM Order Import OM Open Interface tracking OM Error

60 Order Management Concurrent Programs
Retry Activities in Error Concurrent Program Parameters Order Number: The list of values contains all the Open orders. If an order number is selected, the program retries both header and line errored flows for that order. The rest of the parameters except for the Mode are ignored. Item Type: The list of values contains all the supported workflow item types as given above. Activity in Error: The list of values contains all activities pertaining the selected Item Type. Activity Error Date From: Start date to pickup errored activities. Activity Error Date To: End date to pickup errored activities. Mode: Valid values are Preview or Execute. The default is Preview.

61 New Features R12.1.1 Worklist – Bulk notification response and bulk notification close User productivity gain R12.2 Deferring Worklist Response Processing Immediate return to user after response Processed later Can be set by item type

62 New Features R12.2 Oracle RAC Affinity for Workflows
Partition workflow runtime tables by RAC ID Create Virtual Private Database (VPD) policies Special RAC workflow background process High volume workflows No notifications requiring a response or blocked activity

63 New Features R12.2 Service Component Processing by Correlation ID
General mailers do not handle messages handled by a dedicated mailer

64 New Features R12.2 Workflow engine bulk array processing
Batch programs Business event and subscription caching Single session High volume data entry PL/SQL rule function optimization Removes dynamic SQL

65 New Features R12.2 Edition-Based Redefinition EBR
New process for installing customizations Doesn’t look like too much change, but…

66 Resources E-Business Suite: Oracle Workflow (WF) Product Information Center (PIC) https://blogs.oracle.com/stevenChan/ https://blogs.oracle.com/oracleworkflow/ Workflow Analyzer

67

68 Questions? Jerry Ireland rightsizinginc.com


Download ppt "Jerry Ireland Principal, RIGHTSIZING, INC."

Similar presentations


Ads by Google