Search Results wf_event
Overview
The APPS.WF_EVENT package body implements the core event subsystem of the Oracle Workflow Business Event System (BES) in Oracle E-Business Suite 12.1.1 and 12.2.2. Its principal business function is to provide the runtime engine through which business events are raised, enqueued, dequeued, and dispatched to registered subscriptions. Every significant transaction in EBS — order entry, invoice creation, employee updates, and similar activities — can generate a workflow event, and WF_EVENT is the programmatic layer that manages the lifecycle of those events from the moment they are raised until subscribers are executed.
The package mediates between the Oracle Advanced Queuing (AQ) infrastructure, the Workflow subscription repository, and the agent/system definitions that determine routing. Because it is the central dispatcher for the Business Event System, it is one of the most heavily depended-upon objects in the EBS schema, with the ETRM metadata recording that it is referenced by 664 other database objects. It is classified as OTHER in the API classification scheme, confirming that it is an internal infrastructure package rather than a public, supported end-user API.
Key Procedures and Functions
The documented 43 procedures and functions fall into several functional groupings:
- Event generation and queuing:
RAISEandENQUEUEcreate an event and place it on the appropriate AQ queue;DEQUEUEremoves an event from the queue for processing. - Dispatch:
DISPATCHandDISPATCH_INTERNALdrive the subscription-matching and execution logic that identifies which subscriptions apply to a raised event and invokes their corresponding functions or workflows.SETDISPATCHMODEcontrols whether dispatch proceeds in deferred or synchronous mode. - Subscription and listener management:
LISTEN,LISTEN_CONCURRENT,LISTEN_GRP, andLISTEN_GRP_CONCURRENTestablish inbound listeners that consume events from local or remote queues, including concurrent-program-driven listener variants. - Agent handling:
NEWAGENTsupports the creation or resolution of workflow agents used in event routing. - Parameter list utilities:
ADDPARAMETERTOLIST,ADDPARAMETERTOLISTPOS,GETVALUEFORPARAMETER, andGETVALUEFORPARAMETERPOSbuild and interrogate the parameter lists that carry event payload and metadata. - Recipients and error handling:
SET_RECIPIENT_LISTdefines the target recipients of an event;SENDtransmits notification messages;SETERRORINFOrecords error context for failed operations. - Support utilities:
INITPHASEMINTHRESHOLDandTESTprovide initialization and diagnostic support.
Tables Accessed
The package reads and writes the core Business Event System tables through APPS synonyms. WF_EVENT_T and WF_EVENT_OBJ hold event definitions and runtime event data, while WF_EVENT_SUBSCRIPTIONS and WF_EVENT_SUBS_TAB hold subscription rules. Agent and routing definitions are resolved from WF_AGENTS and WF_AGENT_GROUPS. Event payload and metadata parameters are carried in WF_PARAMETER_LIST_T and WF_PARAMETER_T. System registration and queue lookup rely on WF_SYSTEMS and ALL_QUEUES, with messaging handled through DBMS_AQ/DBMS_AQADM. Error and logging data is written via FND_LOG and WF_LOG_PKG. Concurrent listener variants additionally reference FND_CONCURRENT_PROGRAMS, FND_CONCURRENT_REQUESTS, FND_RESPONSIBILITY, FND_USER, and FND_APPLICATION.
Usage Notes
WF_EVENT is not intended for direct invocation by end users or typical customizations. It is called internally by the Workflow Engine, by other Workflow packages, and by the standard Business Event System concurrent programs and listeners. Customization is normally performed declaratively through the Workflow Administrator responsibility by defining events, subscriptions, and agents rather than by calling this package. When a developer does need to raise an event programmatically from custom PL/SQL, the conventional approach is to use WF_EVENT.RAISE or the higher-level WF_EVENT_GROUP utilities, while allowing WF_EVENT to manage enqueue and dispatch internally. Because it depends on Oracle AQ and on numerous fellow Workflow packages, any modification is unsupported, and troubleshooting should focus on subscription definitions, agent configuration, and the queue state reported through WF_EVENT error logging.
-
PACKAGE BODY: APPS.WF_EVENT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:WF_EVENT, status:VALID,
-
PACKAGE BODY: APPS.WF_EVENT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:WF_EVENT, status:VALID,
-
SYNONYM: APPS.WF_AGENT_T
12.2.2
owner:APPS, object_type:SYNONYM, object_name:WF_AGENT_T, status:VALID,
-
TYPE: APPS.WF_AGENT_T
12.1.1
owner:APPS, object_type:TYPE, object_name:WF_AGENT_T, status:VALID,
-
TYPE BODY: APPS.PO_EVENT_PARAMS_TYPE
12.2.2
owner:APPS, object_type:TYPE BODY, object_name:PO_EVENT_PARAMS_TYPE, status:VALID,
-
PACKAGE: APPS.WF_AGT_DYN_FUNCS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:WF_AGT_DYN_FUNCS, status:VALID,
-
TYPE BODY: APPS.PO_EVENT_PARAMS_TYPE
12.1.1
owner:APPS, object_type:TYPE BODY, object_name:PO_EVENT_PARAMS_TYPE, status:VALID,
-
PACKAGE: APPS.WF_BES_DYN_FUNCS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:WF_BES_DYN_FUNCS, status:VALID,
-
SYNONYM: APPS.WF_PARAMETER_T
12.2.2
owner:APPS, object_type:SYNONYM, object_name:WF_PARAMETER_T, status:VALID,
-
PACKAGE: APPS.WF_BES_DYN_FUNCS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:WF_BES_DYN_FUNCS, status:VALID,
-
PACKAGE: APPS.WF_AGT_DYN_FUNCS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:WF_AGT_DYN_FUNCS, status:VALID,
-
PACKAGE BODY: APPS.GL_BUSINESS_EVENTS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GL_BUSINESS_EVENTS, status:VALID,
-
PACKAGE BODY: APPS.FND_FUNCTION_SECURITY_CACHE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:FND_FUNCTION_SECURITY_CACHE, status:VALID,
-
SYNONYM: APPS.WF_AGENT_GROUPS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:WF_AGENT_GROUPS, status:VALID,
-
PACKAGE BODY: APPS.GL_BUSINESS_EVENTS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GL_BUSINESS_EVENTS, status:VALID,
-
PACKAGE BODY: APPS.WF_UTIL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:WF_UTIL, status:VALID,
-
PACKAGE BODY: APPS.FA_BUSINESS_EVENTS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:FA_BUSINESS_EVENTS, status:VALID,
-
PACKAGE BODY: APPS.OZF_GENERATE_XML_CLOB_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OZF_GENERATE_XML_CLOB_PVT, status:VALID,
-
PACKAGE BODY: APPS.MSC_LAUNCH_LISTENER
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_LAUNCH_LISTENER, status:VALID,
-
PACKAGE BODY: APPS.IGS_PR_STDNT_PR_OU_BE_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:IGS_PR_STDNT_PR_OU_BE_PKG, status:VALID,
-
PACKAGE BODY: APPS.BOM_BUSINESS_EVENT_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:BOM_BUSINESS_EVENT_PKG, status:VALID,
-
PACKAGE BODY: APPS.QA_INSPECTION_WF
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:QA_INSPECTION_WF, status:VALID,
-
PACKAGE BODY: APPS.JTF_NOTES_EVENTS_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:JTF_NOTES_EVENTS_PVT, status:VALID,
-
PACKAGE: APPS.WF_ERROR_QH
12.1.1
owner:APPS, object_type:PACKAGE, object_name:WF_ERROR_QH, status:VALID,
-
PACKAGE BODY: APPS.CAC_AVLBLTY_EVENTS_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CAC_AVLBLTY_EVENTS_PVT, status:VALID,
-
PACKAGE BODY: APPS.QA_INSPECTION_WF
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:QA_INSPECTION_WF, status:VALID,
-
PACKAGE: APPS.WF_ERROR_QH
12.2.2
owner:APPS, object_type:PACKAGE, object_name:WF_ERROR_QH, status:VALID,
-
PACKAGE BODY: APPS.CAC_AVLBLTY_EVENTS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CAC_AVLBLTY_EVENTS_PVT, status:VALID,
-
PACKAGE BODY: APPS.MSC_LAUNCH_LISTENER
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_LAUNCH_LISTENER, status:VALID,
-
PACKAGE BODY: APPS.FA_BUSINESS_EVENTS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:FA_BUSINESS_EVENTS, status:VALID,
-
SYNONYM: APPS.WF_AGENT_GROUPS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:WF_AGENT_GROUPS, status:VALID,
-
PACKAGE BODY: APPS.FND_FUNCTION_SECURITY_CACHE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:FND_FUNCTION_SECURITY_CACHE, status:VALID,
-
TRIGGER: APPS.FND_PROD_LIC_TGR
12.2.2
owner:APPS, object_type:TRIGGER, object_name:FND_PROD_LIC_TGR, status:VALID,
-
PACKAGE BODY: APPS.ENG_CHANGE_BES_UTIL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ENG_CHANGE_BES_UTIL, status:VALID,
-
TRIGGER: APPS.GHR_GROUPBOXES_AI_STM
12.1.1
owner:APPS, object_type:TRIGGER, object_name:GHR_GROUPBOXES_AI_STM, status:VALID,
-
PACKAGE BODY: APPS.PER_PERSON_PROFILE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PER_PERSON_PROFILE, status:VALID,
-
PACKAGE BODY: APPS.FND_USER_VALIDATION
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:FND_USER_VALIDATION, status:VALID,
-
PACKAGE BODY: APPS.OZF_GENERATE_XML_CLOB_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OZF_GENERATE_XML_CLOB_PVT, status:VALID,
-
SYNONYM: PUBLIC.ALL_QUEUE_TABLES
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:ALL_QUEUE_TABLES, status:VALID,
-
PACKAGE BODY: APPS.POS_APPR_REJ_SUPP_EVENT_RAISE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:POS_APPR_REJ_SUPP_EVENT_RAISE, status:VALID,
-
PACKAGE BODY: APPS.XNB_UTIL_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XNB_UTIL_PVT, status:VALID,
-
PACKAGE BODY: APPS.RRS_WF_WRAPPER_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:RRS_WF_WRAPPER_PVT, status:VALID,
-
PACKAGE BODY: APPS.MSC_EVENT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_EVENT, status:VALID,
-
PACKAGE BODY: APPS.PER_PERSON_PROFILE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PER_PERSON_PROFILE, status:VALID,
-
PACKAGE BODY: APPS.XNB_UTIL_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XNB_UTIL_PVT, status:VALID,
-
SYNONYM: PUBLIC.ALL_QUEUE_TABLES
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:ALL_QUEUE_TABLES, status:VALID,
-
PACKAGE BODY: APPS.AP_PAYMENT_EVENT_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AP_PAYMENT_EVENT_PKG, status:VALID,
-
TRIGGER: APPS.GHR_GROUPBOXES_AD_STM
12.2.2
owner:APPS, object_type:TRIGGER, object_name:GHR_GROUPBOXES_AD_STM, status:VALID,
-
PACKAGE BODY: APPS.PER_PQH_WF
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PER_PQH_WF, status:VALID,
-
TRIGGER: APPS.GHR_GROUPBOXES_AI_STM
12.2.2
owner:APPS, object_type:TRIGGER, object_name:GHR_GROUPBOXES_AI_STM, status:VALID,