Search Results hr_approval_wf
Overview
HR_APPROVAL_WF is an Oracle Application Object Library package body owned by the APPS schema that provides the programmatic backbone for the Oracle HRMS approval workflow. It encapsulates the PL/SQL logic used by Oracle Workflow to route, notify, and track approval transactions originating in Human Resources self-service functions, including offer approvals, vacancy and requisition routing, and related person or assignment based approvals. The package supplies the workflow engine with the item attributes, routing determinations, and notification URLs required to move an approval item from initiation through final disposition. It is validated and marked VALID in ETRM for both the 12.1.1 and 12.2.2 releases and is documented with an API classification of OTHER, indicating it is an internal implementation package rather than a formally published public API.
Key Procedures and Functions
The package body exposes twenty-nine documented procedures and functions. The most prominent include:
- CREATE_ITEM_ATTRIB_IF_NOTEXIST — Ensures that the workflow item attributes required by the HR approval process are defined in the Workflow item type, creating them only when absent so that repeated invocations remain idempotent.
- INITIALIZE_ITEM_ATTRIBUTES — Populates the item attribute values for a workflow item at the point of initiation, giving downstream activities the transaction context they need.
- SET_ROUTING_DETAILS1 through SET_ROUTING_DETAILS5 — Establish routing information for approval items. These routines determine the approver chain or routing target used by the workflow during specific approval stages.
- SET_URL1 through SET_URL13 — Construct and assign the notification URLs embedded in approval notifications. Because Oracle HRMS supports numerous approval transactions, the package provides thirteen separate URL builders so each notification can deep-link the recipient to the appropriate self-service page.
Additional documented members round out the set to twenty-nine. Naming and behavior indicate the procedures are invoked from workflow function activities and from the custom hooks HR_APPROVAL_CUSTOM and HR_OFFER_CUSTOM.
Tables Accessed
The package reads and writes the following documented tables through APPS synonyms:
- WF_ITEM_ATTRIBUTE_VALUES — Stores attribute values for workflow items; the package inserts and updates these as item attributes are created and initialized.
- PER_ALL_PEOPLE_F — Supplies person records for approvers, requestors, and affected employees in the routing logic.
- OTA_EVENTS — Provides learning or event-related context where approval transactions are linked to Oracle Training Administration events.
Dependency metadata also shows references to PER_ASSIGNMENTS_F, PER_PEOPLE_F, PER_VACANCIES, WF_DIRECTORY, WF_USERS, WF_ENGINE, ICX_SEC, HR_UTIL_WEB, and HR_WORKFLOW_SERVICE, indicating the package draws on assignment, vacancy, directory, security, and workflow services during processing.
Usage Notes
HR_APPROVAL_WF is not intended for direct invocation by end users or casual customizations. It is called by the Oracle Workflow engine when an HR approval item type executes its function activities, and indirectly by HRMS self-service flows that launch approval processes for offers, vacancies, and related transactions. The package is referenced by fourteen other database objects and itself depends on the customization hooks HR_APPROVAL_CUSTOM and HR_OFFER_CUSTOM, which are the supported extension points for tailoring approval behavior. On upgrade or when patching Oracle HRMS, the package must remain valid because Workflow activities resolve to its procedures at runtime; an invalid state will halt HR approval notifications. Customizations should target the custom hook packages rather than HR_APPROVAL_WF itself, since the latter is an Oracle-owned internal package subject to change between 12.1.1 and 12.2.2 and does not constitute a published public API.
-
PACKAGE BODY: APPS.HR_APPROVAL_WF
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HR_APPROVAL_WF, status:VALID,
-
PACKAGE: APPS.HR_APPROVAL_WF
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HR_APPROVAL_WF, status:VALID,
-
PACKAGE BODY: APPS.HR_APPROVAL_WF
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HR_APPROVAL_WF, status:VALID,
-
PACKAGE: APPS.HR_APPROVAL_WF
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_APPROVAL_WF, status:VALID,
-
PACKAGE: APPS.HR_OFFER_CUSTOM
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HR_OFFER_CUSTOM, status:VALID,
-
PACKAGE: APPS.HR_OFFER_CUSTOM
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_OFFER_CUSTOM, status:VALID,
-
PACKAGE: APPS.HR_APPROVAL_CUSTOM
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_APPROVAL_CUSTOM, status:VALID,
-
PACKAGE: APPS.HR_WORKFLOW_SERVICE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_WORKFLOW_SERVICE, status:VALID,
-
PACKAGE: APPS.HR_APPROVAL_CUSTOM
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HR_APPROVAL_CUSTOM, status:VALID,
-
PACKAGE BODY: APPS.OTA_LRNR_ENROLL_UNENROLL_WF
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_LRNR_ENROLL_UNENROLL_WF, status:VALID,
-
PACKAGE BODY: APPS.OTA_LRNR_ENROLL_UNENROLL_WF
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_LRNR_ENROLL_UNENROLL_WF, status:VALID,
-
PACKAGE: APPS.HR_WORKFLOW_SERVICE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HR_WORKFLOW_SERVICE, status:VALID,
-
PACKAGE BODY: APPS.OTA_CERT_APPROVAL_SS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_CERT_APPROVAL_SS, status:VALID,
-
PACKAGE BODY: APPS.PER_SP_STAGE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PER_SP_STAGE, status:VALID,
-
PACKAGE BODY: APPS.OTA_CERT_APPROVAL_SS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_CERT_APPROVAL_SS, status:VALID,
-
PACKAGE BODY: APPS.OTA_CANCEL_API
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_CANCEL_API, status:VALID,
-
PACKAGE BODY: APPS.OTA_ADD_TRAINING_SS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_ADD_TRAINING_SS, status:VALID,
-
PACKAGE BODY: APPS.OTA_COMPETENCE_SS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_COMPETENCE_SS, status:VALID,
-
PACKAGE BODY: APPS.OTA_COMPETENCE_SS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_COMPETENCE_SS, status:VALID,
-
PACKAGE BODY: APPS.HR_DYNAMIC_APPROVAL_WEB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HR_DYNAMIC_APPROVAL_WEB, status:VALID,
-
PACKAGE BODY: APPS.OTA_ENROLL_REVIEW_SS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_ENROLL_REVIEW_SS, status:VALID,
-
PACKAGE BODY: APPS.OTA_EL_TRAINING_SS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_EL_TRAINING_SS, status:VALID,
-
PACKAGE BODY: APPS.OTA_ADD_TRAINING_SS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_ADD_TRAINING_SS, status:VALID,
-
PACKAGE BODY: APPS.OTA_CANCEL_API
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_CANCEL_API, status:VALID,
-
PACKAGE BODY: APPS.OTA_ENROLL_REVIEW_SS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_ENROLL_REVIEW_SS, status:VALID,
-
PACKAGE BODY: APPS.OTA_EL_TRAINING_SS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_EL_TRAINING_SS, status:VALID,
-
PACKAGE BODY: APPS.HR_DYNAMIC_APPROVAL_WEB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HR_DYNAMIC_APPROVAL_WEB, status:VALID,
-
PACKAGE BODY: APPS.HR_WORKFLOW_SS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HR_WORKFLOW_SS, status:VALID,
-
PACKAGE BODY: APPS.OTA_TRAINING_SS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_TRAINING_SS, status:VALID,
-
PACKAGE BODY: APPS.OTA_LEARNER_ENROLL_REVIEW_SS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_LEARNER_ENROLL_REVIEW_SS, status:VALID,
-
PACKAGE BODY: APPS.HR_APPROVAL_SS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HR_APPROVAL_SS, status:VALID,
-
PACKAGE: APPS.HR_UTIL_WEB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_UTIL_WEB, status:VALID,
-
PACKAGE BODY: APPS.OTA_TRAINING_SS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_TRAINING_SS, status:VALID,
-
PACKAGE BODY: APPS.OTA_LEARNER_ENROLL_REVIEW_SS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_LEARNER_ENROLL_REVIEW_SS, status:VALID,
-
PACKAGE BODY: APPS.HR_WORKFLOW_SS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HR_WORKFLOW_SS, status:VALID,
-
PACKAGE BODY: APPS.HR_APPROVAL_SS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HR_APPROVAL_SS, status:VALID,
-
PACKAGE BODY: APPS.PQH_SS_WORKFLOW
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PQH_SS_WORKFLOW, status:VALID,
-
PACKAGE: APPS.HR_UTIL_WEB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HR_UTIL_WEB, status:VALID,
-
PACKAGE BODY: APPS.PQH_SS_WORKFLOW
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PQH_SS_WORKFLOW, status:VALID,
-
SYNONYM: APPS.WF_ITEM_ATTRIBUTE_VALUES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:WF_ITEM_ATTRIBUTE_VALUES, status:VALID,
-
SYNONYM: APPS.WF_ITEM_ATTRIBUTE_VALUES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:WF_ITEM_ATTRIBUTE_VALUES, status:VALID,
-
SYNONYM: APPS.OTA_EVENTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OTA_EVENTS, status:VALID,
-
SYNONYM: APPS.OTA_EVENTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OTA_EVENTS, status:VALID,
-
VIEW: APPS.WF_USERS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:FND.WF_USERS, object_name:WF_USERS, status:VALID,
-
VIEW: APPS.WF_USERS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:FND.WF_USERS, object_name:WF_USERS, status:VALID,
-
VIEW: APPS.PER_VACANCIES
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PER.PER_VACANCIES, object_name:PER_VACANCIES, status:VALID,
-
VIEW: APPS.PER_VACANCIES
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PER.PER_VACANCIES, object_name:PER_VACANCIES, status:VALID,
-
PACKAGE: APPS.ICX_SEC
12.2.2
owner:APPS, object_type:PACKAGE, object_name:ICX_SEC, status:VALID,
-
PACKAGE: APPS.HR_APPROVAL_WF
12.1.1
-
PACKAGE: APPS.HR_APPROVAL_WF
12.2.2