Search Results initiate_notification




Overview

GHR_WF is an Oracle Applications (APPS) PL/SQL package that bridges Oracle Advanced Benefits (BEN) processing with Oracle Workflow notification services. Its principal role is to initiate and validate workflow notifications generated in the context of benefits extraction and result-processing activities. The package forms part of the GHR (Global Human Resources) family of utility packages that support Oracle Human Resources and its dependent benefits modules.

The package is classified under the "OTHER" API classification, indicating it is not exposed as a formally supported public API for external integration. It is an internal implementation artifact intended for use by seeded Oracle components and by the extent-and-result processing chain within Advanced Benefits. The header comment in the source identifies the file as ghrwfnot.pkh, reinforcing that the core design purpose of the package is benefits workflow notification handling.

Key Procedures and Functions

  • INITIATE_NOTIFICATION — The primary entry point for triggering a workflow notification from within benefits processing. It accepts a request identifier, a result identifier, and a role value, and uses these to construct and dispatch a notification for the corresponding person or assignment. The request and result identifiers link the notification back to the originating concurrent request and the benefits result record so that the notification content and recipient can be resolved correctly. The role parameter determines which responsibility or role receives the notification.
  • CHECK_USER_EXIST — A workflow-standard function validation utility. It follows the Oracle Workflow function activity calling convention: an item type, item key, activity identifier, and function mode are supplied as inputs, and a result string is returned by reference. This signature indicates the function is registered as a workflow function activity, where Oracle Workflow invokes the code to determine the outcome of a transition. Its purpose is to verify the existence or validity of a user or role associated with the workflow item, allowing the process to branch based on the result.

Both procedures are declared in the package specification, making them callable from other compiled PL/SQL units.

Tables Accessed

The package reads and writes the following objects through APPS synonyms:

  • BEN_EXT_DFN and BEN_EXT_RCD_IN_FILE — definitions and record-file structures for the benefits extraction process, used to resolve the context of the result being notified.
  • BEN_EXT_RSLT and BEN_EXT_RSLT_DTL — extraction result headers and detail rows, supplying the data that populates the notification.
  • GHR_NFC_NOTIF_SEQ_S — a sequence used to generate unique notification identifiers, confirming that the package inserts or tracks notification records.
  • DUAL — used for scalar evaluations, typically within the workflow function validation logic.

Usage Notes

GHR_WF is typically invoked in two distinct ways. First, INITIATE_NOTIFICATION is called programmatically by other benefits extraction and result-processing packages, which is consistent with the metadata showing that the package is referenced by two other packages. These callers invoke it after extraction results have been generated, in order to alert the appropriate role. Second, CHECK_USER_EXIST is invoked indirectly by the Oracle Workflow engine as a registered function activity; its strict parameter contract exists to satisfy the Workflow function activity calling convention rather than for direct caller use.

Because the package is classified as OTHER rather than as a public API, customization directly against it is not recommended. Developers who need to trigger or extend benefits notifications should integrate at the workflow process level or through supported Advanced Benefits APIs, and should treat GHR_WF as an internal dependency whose signature may change without notice.