Search Results gmi_wf_item_activation




Overview

The APPS.GMI_WF_ITEM_ACTIVATION package body is a Workflow integration utility within the Oracle E-Business Suite Process Manufacturing (OPM) module. Its primary business function is to activate Oracle Workflow item processes against items (or item-related entities) defined in the OPM item master, ensuring that approval routing, notification, and lifecycle event handling can be initiated for those items through the standard Workflow Engine. In EBS 12.1.1 and 12.2.2, this package serves as the bridge between the OPM item hierarchy and the generic Oracle Workflow infrastructure, resolving users and roles, selecting eligible approvers, and starting the workflow process associated with the item.

Key Procedures and Functions

  • INIT_WF — Initializes the workflow context for the item activation process. It establishes the necessary runtime variables, resolves item identity information from the OPM item master and hierarchy, and prepares the environment prior to process initiation.
  • SELECT_APPROVER — Determines and returns the appropriate approver(s) for the item activation workflow. This procedure draws on user, role, and assignment data (for example, FND_USER, WF_ROLES, WF_USERS, and PER_ASSIGNMENTS_F) to resolve valid approvers in accordance with the configured approval hierarchy.
  • ACTIVATE_ITEM — The principal entry point that triggers activation of the workflow item. It invokes the Workflow Engine to launch or resume the item's workflow process, sets the item attribute values, and hands control to WF_ENGINE for subsequent activity execution and notification.

Tables Accessed

  • IC_ITEM_MST — The OPM item master, read to retrieve the core item definition and attributes required to construct the workflow item key and payload.
  • IC_ITEM_HIERARCHY — The item hierarchy table, read to determine the item's organizational and hierarchical context, which influences routing and approval resolution.
  • FND_USER — The application user table, accessed to validate and resolve user identities used as workflow recipients or approvers.

In addition to these documented tables, the package depends on the standard Workflow data structures, including WF_ITEM, WF_ITEM_ACTIVITY_STATUS, WF_ROLES, WF_USERS, and the profile option facility FND_PROFILE, all accessed via APPS synonyms.

Usage Notes

This package is typically invoked indirectly rather than called by end users. It is engaged when OPM item-related business events require workflow activation, such as item approval, change control, or quality and specification-driven routing. Because it is a package body classified as OTHER and is not referenced by any other database object, it functions as a top-level integration utility that other components — including OPM forms, concurrent programs, or custom extensions — call to initiate or resume item workflows. Developers integrating custom OPM item processes should invoke the package within the standard Workflow session context (after WF_CORE initialization) to ensure the Workflow Engine can correctly resolve roles, raise events, and manage item activity status. Given its dependency on WF_PURGE and workflow status tables, the package also participates in workflow lifecycle maintenance.