Oracle Workflow Guide
Release 2.6.2

Part Number A95265-02
Previous Next       Contents Index Glossary
         Previous  Next          Contents  Index  Glossary

Unexpected Event

Oracle Workflow executes subscriptions to this event when an event is raised locally or received from an external source, but no subscription exists on that event.

Internal Name oracle.apps.wf.event.unexpected
Generate Function None

Oracle Workflow provides three default subscriptions to the Unexpected event. The first subscription can send the event message to the Default Event Error process in the System: Error item type when an unexpected event is raised locally. To use this subscription, you must enable it.

Attention: If you want to enable this subscription, be careful to consider all the events that can be raised on your local system and trigger the subscription. Many local events may be raised to which you do not want to subscribe. Additionally, if a large number of events are raised on the local system, enabling this subscription may flood the Business Event System.

The following table lists the properties defined for this subscription.

Subscription Property Value
System <local system>
Source Type Local
Event Filter oracle.apps.wf.event.unexpected
Status Disabled
Rule Data Key
Workflow Item Type WF_ERROR
Workflow Process Name DEFAULT_EVENT_ERROR

The second subscription sends the event message to the Default Event Error process in the System: Error item type when an unexpected event is received from an external source. This subscription allows your local system to handle any event messages received from external systems that you were not expecting.

The Default Event Error process notifies the system administrator, who can retry or abort subscription processing for the event. For example, the system administrator can optionally define a subscription to process the event and then retry the event.

The External subscription to the Unexpected event is enabled by default. You can disable it if necessary.

Attention: If you want to disable this subscription, be careful to consider all the consequences for handling unexpected event messages from external sources. If the subscription is disabled, these event messages will remain on the inbound queue where they are received and may be undetected for some time.

The following table lists the properties defined for this subscription.

Subscription Property Value
System <local system>
Source Type External
Event Filter oracle.apps.wf.event.unexpected
Status Enabled
Rule Data Key
Workflow Item Type WF_ERROR
Workflow Process Name DEFAULT_EVENT_ERROR

The third subscription sends the event message to the Default Event Error process in the System: Error item type when an unexpected event is received from an Error source (that is, when it is dequeued from the WF_ERROR queue). This subscription is enabled by default.

Attention: You must not change or disable the definition of the predefined Error subscription to the Unexpected event. If you disable this subscription, then the Event Manager will not be able to perform error handling for any events for which you have not defined custom Error subscriptions.

The following table lists the properties defined for this subscription.

Subscription Property Value
System <local system>
Source Type Error
Event Filter oracle.apps.wf.event.unexpected
Status Enabled
Rule Data Key
Rule Function wf_rule.error_rule
Workflow Item Type WF_ERROR
Workflow Process Name DEFAULT_EVENT_ERROR
Priority Normal

See Also

To Define an Event Subscription


         Previous  Next          Contents  Index  Glossary


Oracle
Copyright © 2002 Oracle Corporation.

All Rights Reserved.