Search Results hr_workflows_s




Overview

The APPS.HR_WORKFLOWS_PKG package body is a database-level PL/SQL implementation that supports Oracle E-Business Suite Human Resources workflow configuration data. It belongs to the HR (Human Resources) product family and resides in the APPS schema, which is the standard repository for shared application logic in EBS 12.1.1 and 12.2.2. The package is classified as an "OTHER" API, indicating that it is not a formally published or externally versioned public interface but rather an internal supporting package used by Oracle Forms, concurrent processing, and other application components to maintain the HR workflow records.

The core business purpose of this package is to manage the persistence of records stored in the HR_WORKFLOWS table and its associated workflow-navigation structures. These records define the workflow-enabled transactions, navigation paths, and node usages that drive HR self-service and approval routing within the E-Business Suite. The package encapsulates the create, read, update, and delete (CRUD) operations along with row-locking and bulk data loading that the HR Forms and related components require.

Key Procedures and Functions

The package body exposes five documented procedures that together provide the standard table handler pattern used extensively throughout EBS:

  • INSERT_ROW — Inserts a new workflow definition record into the underlying HR workflow tables, populating primary key and descriptive columns from the calling context.
  • LOCK_ROW — Acquires a row-level lock on an existing workflow record to support optimistic concurrency control during interactive form updates, preventing conflicting modifications.
  • UPDATE_ROW — Modifies an existing workflow record, typically invoked after LOCK_ROW has secured the row for the current session.
  • DELETE_ROW — Removes a workflow record, and may cascade or validate against dependent navigation data before the physical delete.
  • LOAD_ROW — Performs a combined insert-or-update operation, commonly used for data migration, seeding, and bulk loading of workflow definitions during setup or patching.

No public parameter signatures are documented in the ETRM metadata; the procedures follow the conventional WHO-column (created_by, creation_date, last_updated_by, etc.) and row-key conventions typical of Oracle Forms-generated database packages.

Tables Accessed

The package references the following objects through APPS synonyms and dependencies:

  • HR_WORKFLOWS — The primary transaction table storing workflow definitions; the target of insert, update, delete, and load operations.
  • HR_WORKFLOWS_S — The sequence used to generate primary keys for new workflow rows.
  • HR_NAVIGATION_PATHS, HR_NAVIGATION_PATHS_TL, and HR_NAVIGATION_NODE_USAGES — Support tables defining navigation paths (and their translated values) and node usages, accessed to maintain the menu/navigation structure associated with workflows.
  • HR_LEGISLATION_INSTALLATIONS — Consulted to verify which legislation installations are present, ensuring workflow behavior is valid for the installed localization.
  • DUAL — Used for single-row queries and sequence/validation lookups.

Additional dependencies include APP_EXCEPTION and FND_MESSAGE for error handling and message resolution, and FND_TERRITORIES_VL for territory validation.

Usage Notes

HR_WORKFLOWS_PKG is not referenced by any database object per the ETRM metadata, meaning it is generally invoked from the application tier rather than nested within other PL/SQL routines. Its primary consumers are Oracle Forms modules and concurrent programs that maintain HR workflow setup data. It is documented as being referenced by seven other packages, indicating use in broader HR configuration flows. Customizations should not modify this seed data package directly; instead, extend or wrap it in custom packages. Because it is an internal "OTHER" API, Oracle does not guarantee signature stability across patches, so custom code depending on it must be regression-tested during upgrades between 12.1.1 and 12.2.2.