Results for “wf_function_call”

20 results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

The APPS.WF_FUNCTION_CALL package body is a component of the Oracle Workflow engine shipped with Oracle E-Business Suite 12.1.1 and 12.2.2. Its name reflects its narrow but essential role: providing the runtime mechanism by which a Workflow process activity of type Function is resolved and executed against an underlying PL/SQL stored program. In the Oracle Workflow architecture, activities may be implemented as notification activities, function activities, or sub-processes. Function activities are those whose logic resides entirely in server-side PL/SQL, and WF_FUNCTION_CALL is the internal wrapper that the Workflow engine invokes to call that PL/SQL entry point in a controlled and consistent manner.

Because it is a package body rather than a standalone API, its routines are not generally treated as a public interface. It exists to support the Workflow runtime and the metadata-driven behaviour of the Workflow definitions stored in the WF_ tables. The object is reported as VALID in the APPS schema and carries an API classification of OTHER, indicating that it is not part of Oracle's documented public API set and should not be called directly by customer code.

Key Procedures and Functions

The ETRM metadata documents a single callable routine in this package body:

  • EXECUTE — the core procedure used to invoke the PL/SQL implemented by a Workflow function activity. It resolves the target program associated with the activity definition and calls it on behalf of the Workflow engine, propagating any outcome or error back to the caller so that the engine can transition the process to the appropriate next activity. Consistent with Oracle's restriction on internal packages, the parameter list is not published and callers should not construct invocations of this procedure themselves.

Tables Accessed

The documented dependency information for WF_FUNCTION_CALL lists no direct references to application tables. Its dependencies are limited to other PL/SQL units:

  • APPS.WF_STANDARD — the Workflow standard utility package, which supplies common error-handling and engine-support routines used across the Workflow runtime.
  • APPS.FND_FLEX_WORKFLOW_APIS — the Flexfields-to-Workflow integration package, indicating that function call processing can participate in flexfield-driven Workflow logic.
  • SYS.STANDARD — the standard Oracle database package available to all PL/SQL units.

Although the package resolves activity definitions and target programs, those lookups are performed through other Workflow packages rather than through direct SQL in this body. The ETRM record consequently documents no table-level access for this object. The metadata also records that WF_FUNCTION_CALL is not referenced by any database object, meaning no other stored unit depends on it directly; rather, it is invoked dynamically by the Workflow engine at runtime.

Usage Notes

WF_FUNCTION_CALL is not intended for direct invocation. It is exercised indirectly whenever the Workflow engine processes an activity whose Function tab in the Workflow Builder specifies a PL/SQL function or procedure. Typical triggers include Workflow background processes (such as the Workflow Agent Listener and the Workflow Notification Mailer), Business Events delivered through the Workflow Business Event System, and seeded or custom Workflow processes attached to EBS transactions. Developers who require custom activity logic should register their PL/SQL in Workflow Builder and let the engine call it; they should never hard-code a call to WF_FUNCTION_CALL.EXECUTE. Because the object is classified as OTHER, the routines and signatures in this package are subject to change between releases and are not covered by Oracle's API compatibility guarantees.