Results for “wf_standard”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
WF_STANDARD is the core PL/SQL package body in the Oracle Workflow engine (APPS schema) that implements the standard, pre-defined activity functions used by every workflow process definition shipped with Oracle E-Business Suite. In Oracle EBS 12.1.1 and 12.2.2, the Workflow Engine invokes WF_STANDARD activities whenever a process definition references a built-in function node — for example, a Fork, an And-Join, an Or-Join, a Wait, a Notification, or a Defer — rather than a custom PL/SQL function. The package therefore sits at the boundary between the declarative Workflow Builder definition and the runtime Item Type/Activity execution model, translating process diagrams into concrete item activity transitions recorded in the WF_* runtime tables.
The excerpt confirms both a private API layer (ContinueMasterFlow, ContinueDetailFlow, WaitForDetailFlow, WaitForMasterFlow) and a public API layer of 36 documented procedures and functions. The package is referenced by 10 other packages, underscoring its role as a foundational utility within the Workflow schema. Notably, the package body header ($Header: wfstdb.pls 120.11.12010000.2) indicates a 12.1.1 vintage file that is retained in 12.2.2.
Key Procedures and Functions
- FORKITEM – Creates parallel branches from a single activity, spawning the child activity instances that the engine then evaluates independently.
- ANDJOIN – Continues a process only after all incoming parallel branches have completed.
- ORJOIN – Continues a process as soon as any one incoming parallel branch completes.
- BLOCK – Halts a process at a designated activity until an external event or continuation signal is received.
- WAIT – Pauses execution for a defined interval; this is the documented activity most directly associated with the timeout_value attribute, which the engine reads to determine when a Wait activity should expire and proceed.
- DEFER – Postpones activity execution, typically via a delay or a scheduled deferral.
- NOTIFY – Sends a notification through the Workflow Notification System.
- NOOP – A pass-through activity used as a placeholder or join point.
- ASSIGN – Assigns values to item attributes during execution.
- COMPARE – Compares values and returns a boolean-style result for branching.
- COMPAREEXECUTIONTIME – Compares the elapsed time of a process activity against a threshold.
- COMPAREEVENTPROPERTY, SETEVENTPROPERTY, GETEVENTPROPERTY – Read, write, and evaluate properties on Business Event data.
- LAUNCHPROCESS – Starts a new child workflow process instance.
- ABORTPROCESS, RESETERROR, INITIALIZEERRORS, CHECKERRORACTIVE – Manage process abort and error-state handling, including the Error process wrappers.
- ROLERESOLUTION – Resolves roles through the Workflow Directory Services.
The private ContinueMasterFlow, ContinueDetailFlow, WaitForDetailFlow, and WaitForMasterFlow procedures coordinate master/detail process continuation, signaling master flows when all detail flows have executed.
Tables Accessed
The package reads and writes the principal Workflow runtime tables via APPS synonyms. WF_ITEMS, WF_ITEM_ACTIVITY_STATUSES, and WF_ACTIVITY_TRANSITIONS drive process state, activity completion, and branch routing. WF_ACTIVITIES, WF_PROCESS_ACTIVITIES, and WF_ACTIVITY_ATTR_VALUES supply activity definitions and their runtime attribute values — the mechanism by which attributes such as timeout_value are stored and evaluated. WF_NOTIFICATIONS and WF_AGENTS/WF_AGENT_T support NOTIFY and ROLERESOLUTION. WF_EVENT_SUBSCRIPTIONS, WF_EVENT_T, WF_PARAMETER_LIST_T, WF_RESOURCES, WF_SYSTEMS, and WF_LOCAL_ROLES provide event, parameter, resource, and directory context.
Usage Notes
WF_STANDARD is invoked indirectly by the Workflow Engine whenever an activity's function references a standard name. It is not typically called directly from Forms or concurrent programs; instead, developers and administrators configure these activities in Workflow Builder, and the engine executes them at runtime. Custom PL/SQL may call WF_STANDARD APIs such as LAUNCHPROCESS or ROLERESOLUTION. Because timeout behavior — including timeout_value — is processed through the Wait and Defer activities and ContinueMasterFlow/ContinueDetailFlow logic, any modification to timeout handling should be traced through this package. Direct modification of WF_STANDARD is unsupported; Oracle-patched versions (120.11 and above) must be used.
-
PACKAGE: APPS.WF_STANDARD 12.2.2
-
PACKAGE: APPS.WF_STANDARD 12.1.1
-
SYNONYM: APPS.WF_SYSTEMS 12.2.2
-
SYNONYM: APPS.WF_AGENT_T 12.2.2
-
TYPE: APPS_NE.WF_AGENT_T 12.2.2
-
SYNONYM: APPS.WF_AGENTS 12.1.1
-
SYNONYM: APPS.WF_AGENTS 12.2.2
-
SYNONYM: APPS.WF_SYSTEMS 12.1.1
-
TYPE: APPS_NE.WF_PARAMETER_T 12.2.2
-
SYNONYM: APPS.WF_RESOURCES 12.2.2