370 likes | 564 Views
Oracle Applications Release 11 i Release 11.5.9 WorkFlow Business Events – The Setups You May Be Missing. Karen Brownfield Kbrownfield@solutionbeacon.com. Release 11 i Workshops
E N D
Oracle Applications Release 11iRelease 11.5.9 WorkFlow Business Events – The Setups You May Be Missing Karen Brownfield Kbrownfield@solutionbeacon.com Release 11i Workshops Dallas, TX • Cincinnati, OH • Phoenix, AZ • Los Angeles, CA Denver, CO • Washington, DC • Atlanta, GA • Portland, OR www.solutionbeacon.com
About the Trainer • 25+ yrs experience in IT Industry • 12+ yrs experience Oracle Applications • 5 yrs experience Workflow • OAUG Board of Directors 11 years, Former President • Presenter of Training/Presentations multiple clients, conferences • Solution Beaconis a leading provider of expert-level resources to Government Agencies and Fortune 1000 companies specializing in the Oracle Applications marketplace, providing leading expertise in the following areas: • Release 11i Upgrades/Implementations • Oracle Apps Database Administration • Oracle Systems Architecture • Oracle Performance Tuning • Oracle Workflow
Steps to Set up Business Event System • Optional – Establish database links to external systems • Optional – Enable Oracle Message Broker queues • Optional – Set up custom queues • Required – Check Business Event setup parameters
Steps to Set up Business Event System • Required – Schedule listeners for local inbound agents • Required – Schedule propagation for local outbound agents • Required – Synchronize event and subscription license statuses with product license statuses • Required – Ensure WF_CONTROL queue is periodically cleaned up • Optional – change Global Preference
Setting up Queues • Each agent must have a queue • Standard queues created by upgrade/install
Standard Queues • Default retention for consumed messages – 7 days • To change, DBMS_AQADM.Alter_Queue procedure • DO NOT change any other parameters for these queues
Enabling OMB queues • Only Required for Oracle8i database • Set up WF_OMB_IN and WF_OMB_OUT queues • Translates between standard workflow event msg structure, WF_EVENT_T, and structure required by OMB, OMBAQ_TEXT_MSG. • Assign WF_EVENT_OMB_QH as propagation protocol
Enabling OMB queues • Run wfquhndos.sql to create PL/SQL spec • Run wfquhndob.sql to create PL/SQL body • Both located in $APPL_TOP/wf/sql
Check Business Event Setup Parameters • Admin responsibility • Workflow | Check Event Manager Setup
Check Business Event System Parameters • Verify Database Init.ora Parameters are equal or greater than recommended levels • Aq_tm_processes – monitors delay events such as Wait activity • Job_Queue_Processes – handles propagation of Business Event System event messages • Job_Queue_Interval (8i only) – how frequently job_Queue_process wakes up • Change values through init.ora file or ALTER SYSTEM statement (9i)
Check Business Event System Parameters • Verify queues are created for standard queues (Queue Name and Queue Created columns in Local Agents section) • Do not use Create Link to Schedule In-bound Listeners • If Link says Edit, press Edit, click Delete
Check Business Event System Parameters • Start outbound propagations • Admin responsibility • Workflow | Check Event Manager Setup • Click Create for all queues used
Check Business Event System Parameters • Start Outbound (cont) • Click Create • Enter Duration • Enter reschedule interval • Enter latency (how long to wait after all messages queued before checking again) • Must be > or = job_queue_interval
Schedule In-Bound Listeners • Verify Listeners for local inbound agents are scheduled • Do not utilize Create link in Check Event Manager Setup • ECX_INBOUND and ECX_TRANSACTION are only required if using EDI Gateway
Schedule In-Bound Listeners -Start Containers • Requires GSM to be configured • Profile option ‘Concurrent:GSM Enables’ should be set to ‘Y’ • Done through OAM • Start Workflow Agent Listener (required)
Start Containers • Navigate to Workflow Manager • Click on Service Components
Start Containers • Verify Deferred, Deferred Notification Agent, Error, and Inbound status is ‘Running’ • If not, click the Workflow Agent Listener Service Container
Start Containers • If status is Deactivated, click radio button next to Service, ensure Start is displayed action, click Go • Starts agent listener service components for WF_DEFERRED, WF_ERROR, WF_NOTIFICATION_IN, WF_IN
Start Containers • If status “sticks” on Activating (doesn’t change to Running), then something is wrong with GSM link to concurrent managers • Until link is fixed…..
Schedule In-Bound Listeners – GSM Not Configured • Concurrent program – Workflow Agent Listener • If doesn’t show in Run Requests window, check program definition, may not be enabled • Run a program for each queue • Schedule to rerun periodically
Schedule In-Bound Listeners • Minimum listeners that must be scheduled • WF_IN • WF_DEFERRED • WF_NOTIFICATION_IN • WF_ERROR • Can create Program Set • WF_REPLAY_IN was accidentally required with initial 11.5.9
Synchronize License Statuses • Concurrent program: Synchronize Product License and Workflow BES License • Will have to be added to Request Group
Verify Queue Cleanup Scheduled • From Concurrent Manager, verify ‘Workflow Control Cleanup’ is scheduled • Oracle recommends every 12 hours
Revisit System Status • Global Preferences page • Enabled – Internal / External Events • Local Only– Internal Only • External Only – do not use this value • Disabled – do not use this value
Verify Event System Works • Workflow Agent Ping/Acknowledge • Sends ping event message to each inbound agent on local system • Waits to receive acknowledgement event message from each agent • If this workflow completes successfully, Business Event System setup is valid
Verify Event System Works • Event Queue Summary • Note Current Count for Inbound queues
Verify Event System Works • Launch Process • Click on Workflow Agent Ping/Acknowledge
Verify Event System Works • Make up a Item Key (must be unique) • Select Master Ping Process in Process Name • Click OK
Verify Event System Works • Starts One Master and 3 Details • Detail for each IN queue except ERROR
Verify Event System Works • Return to Event Queue Summary • Click on Flashlight beside any queue where count is higher (except Out) • Click Go
Verify Event System Works • There should be one message in IN, one in Deferred • Check if count increased for Replay, if so, use concurrent manager program to start it • Messages will stay in queue until next time concurrent process runs for that queue, then message will go to Replay queue and stay there until Replay concurrent process runs
Verify Event System Works • As each message is either “consumed” (or transferred to Replay queue), detail process for that queue completes • If Replay queue is being used, master process won’t complete until all messages have made it through the replay queue
Questions and Answers KISS Keep It Simple and Supportablesm Thank You! Karen Brownfield kbrownfield@solutionbeacon.com www.solutionbeacon.com