Search Results wf_maintenance
Overview
WF_MAINTENANCE is an Oracle Workflow maintenance utility package owned by the APPS schema. Its principal responsibility within Oracle E-Business Suite Release 12.1.1 and 12.2.2 is to reconcile and synchronize the Workflow directory data that underlies routing, notification delivery, and role resolution. As the name implies, the package performs housekeeping and validation tasks that keep the WF_LOCAL_ROLES directory hierarchy consistent with the FND_USER account repository and the underlying workflow runtime tables. Because workflow notifications, approval routing, and role-based assignment depend on an accurate local directory cache, WF_MAINTENANCE plays an important supporting role whenever user information changes — for example, after a user is renamed, reassigned, or re-enabled. The package is classified as OTHER in the ETRM API registry, indicating that it is an internal maintenance utility rather than a public, supported integration API. It currently holds a VALID status and is referenced by two other packages, WF_DIRECTORY and WF_LOCAL_SYNCH, confirming its role as a shared low-level component.
Key Procedures and Functions
The documented interface exposes three procedures/functions:
- PROPAGATECHANGEDNAME — Propagates a changed user or role name through the workflow directory. It is used to push updated naming information into WF_LOCAL_ROLES and related directory structures so that subsequent notification and routing lookups resolve to the correct display and internal name.
- VALIDATEUSERROLES — Validates the relationship between workflow roles and assigned users, identifying inconsistencies such as orphaned role assignments or directory entries that no longer correspond to a valid FND_USER record.
- GETUSERNAMECHANGECOUNTS — Returns counts associated with user name changes, providing a diagnostic measure of how many records may require propagation or remediation.
No parameter lists are published in the metadata, and callers should consult the package specification in the database before invoking these routines directly.
Tables Accessed
WF_MAINTENANCE references an extensive set of workflow and application tables, primarily through APPS synonyms. The core directory tables WF_LOCAL_ROLES and WF_LOCAL_USER_ROLES are read and updated to reconcile role membership. FND_USER, FND_GRANTS, WF_DIRECTORY_PARTITIONS, and WF_COMMENTS support validation of user accounts and directory partitioning. Runtime workflow objects — WF_ITEMS, WF_ITEM_ACTIVITY_STATUSES, WF_ITEM_ACTIVITY_STATUSES_H, WF_ITEM_ATTRIBUTES, WF_ITEM_ATTRIBUTE_VALUES, WF_PROCESS_ACTIVITIES, WF_MESSAGE_ATTRIBUTES, and WF_NOTIFICATIONS — are touched when validating or propagating changes that affect in-flight workflow instances. USER_TABLES is referenced for existence checks, and STANDARD/SYS objects provide standard PL/SQL runtime support.
Usage Notes
WF_MAINTENANCE is not a user-facing API. It is typically invoked indirectly by higher-level workflow components such as WF_DIRECTORY and WF_LOCAL_SYNCH, which call it during directory synchronization and user maintenance processing. Administrators may encounter it through "Synchronize WF LOCAL Tables" or user-rename workflows in the Workflow Administrator responsibility. Direct invocation from custom code is discouraged because the procedures operate on critical workflow metadata; any call should be preceded by a backup of the affected workflow tables. Because the package relies on FND_USER and WF_LOCAL_ROLES, it must be executed in an environment where the APPS schema and workflow background processes are fully configured, and it should be run only during low-activity windows to avoid contention with active notification processing.
-
PACKAGE: APPS.WF_MAINTENANCE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:WF_MAINTENANCE, status:VALID,
-
PACKAGE: APPS.WF_MAINTENANCE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:WF_MAINTENANCE, status:VALID,
-
PACKAGE BODY: APPS.WF_MAINTENANCE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:WF_MAINTENANCE, status:VALID,
-
PACKAGE BODY: APPS.WF_MAINTENANCE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:WF_MAINTENANCE, status:VALID,
-
PACKAGE: APPS.WF_MAINTENANCE
12.1.1
-
PACKAGE: APPS.WF_MAINTENANCE
12.2.2
-
SYNONYM: APPS.WF_ROLE_HIERARCHIES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:WF_ROLE_HIERARCHIES, status:VALID,
-
SYNONYM: APPS.WF_UR_VALIDATE_STG
12.2.2
owner:APPS, object_type:SYNONYM, object_name:WF_UR_VALIDATE_STG, status:VALID,
-
SYNONYM: APPS.WF_COMMENTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:WF_COMMENTS, status:VALID,
-
SYNONYM: APPS.WF_UR_VALIDATE_STG
12.1.1
owner:APPS, object_type:SYNONYM, object_name:WF_UR_VALIDATE_STG, status:VALID,
-
PACKAGE: APPS.WF_DDL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:WF_DDL, status:VALID,
-
SYNONYM: APPS.WF_USER_ROLE_ASSIGNMENTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:WF_USER_ROLE_ASSIGNMENTS, status:VALID,
-
SYNONYM: APPS.WF_USER_ROLE_ASSIGNMENTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:WF_USER_ROLE_ASSIGNMENTS, status:VALID,
-
SYNONYM: APPS.WF_DIRECTORY_PARTITIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:WF_DIRECTORY_PARTITIONS, status:VALID,
-
PACKAGE: APPS.WF_DDL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:WF_DDL, status:VALID,
-
PACKAGE: APPS.WF_ROLE_HIERARCHY
12.2.2
owner:APPS, object_type:PACKAGE, object_name:WF_ROLE_HIERARCHY, status:VALID,
-
SYNONYM: APPS.WF_ROUTING_RULES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:WF_ROUTING_RULES, status:VALID,
-
SYNONYM: APPS.WF_COMMENTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:WF_COMMENTS, status:VALID,
-
SYNONYM: APPS.WF_ROUTING_RULE_ATTRIBUTES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:WF_ROUTING_RULE_ATTRIBUTES, status:VALID,
-
SYNONYM: APPS.WF_ROUTING_RULES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:WF_ROUTING_RULES, status:VALID,
-
SYNONYM: PUBLIC.USER_TABLES
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:USER_TABLES, status:VALID,
-
PACKAGE BODY: APPS.WF_DIRECTORY
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:WF_DIRECTORY, status:VALID,
-
SYNONYM: APPS.WF_MESSAGE_ATTRIBUTES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:WF_MESSAGE_ATTRIBUTES, status:VALID,
-
PACKAGE BODY: APPS.WF_LOCAL_SYNCH
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:WF_LOCAL_SYNCH, status:VALID,
-
PACKAGE BODY: APPS.WF_DIRECTORY
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:WF_DIRECTORY, status:VALID,
-
SYNONYM: APPS.WF_LOCAL_ROLES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:WF_LOCAL_ROLES, status:VALID,
-
PACKAGE BODY: APPS.WF_LOCAL_SYNCH
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:WF_LOCAL_SYNCH, status:VALID,
-
SYNONYM: APPS.WF_LOCAL_USER_ROLES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:WF_LOCAL_USER_ROLES, status:VALID,
-
SYNONYM: APPS.WF_ITEM_ACTIVITY_STATUSES_H
12.1.1
owner:APPS, object_type:SYNONYM, object_name:WF_ITEM_ACTIVITY_STATUSES_H, status:VALID,
-
SYNONYM: APPS.WF_LOCAL_USER_ROLES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:WF_LOCAL_USER_ROLES, status:VALID,
-
SYNONYM: APPS.WF_ITEM_ATTRIBUTES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:WF_ITEM_ATTRIBUTES, status:VALID,
-
SYNONYM: APPS.WF_ITEM_ACTIVITY_STATUSES_H
12.2.2
owner:APPS, object_type:SYNONYM, object_name:WF_ITEM_ACTIVITY_STATUSES_H, status:VALID,
-
SYNONYM: APPS.WF_ITEM_ATTRIBUTES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:WF_ITEM_ATTRIBUTES, status:VALID,
-
PACKAGE: APPS.WF_LOG_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:WF_LOG_PKG, status:VALID,
-
PACKAGE: APPS.WF_LOG_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:WF_LOG_PKG, status:VALID,
-
SYNONYM: APPS.WF_LOCAL_ROLES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:WF_LOCAL_ROLES, status:VALID,
-
SYNONYM: APPS.FND_GRANTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FND_GRANTS, 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.WF_NOTIFICATIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:WF_NOTIFICATIONS, status:VALID,
-
SYNONYM: APPS.WF_NOTIFICATIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:WF_NOTIFICATIONS, status:VALID,
-
SYNONYM: PUBLIC.DBMS_LOCK
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:DBMS_LOCK, status:VALID,
-
SYNONYM: PUBLIC.V$PARAMETER
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:V$PARAMETER, status:VALID,
-
SYNONYM: PUBLIC.V$PARAMETER
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:V$PARAMETER, status:VALID,
-
SYNONYM: PUBLIC.DBMS_LOCK
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:DBMS_LOCK, status:VALID,
-
APPS.WF_LOCAL_SYNCH dependencies on WF_MAINTENANCE
12.2.2
-
APPS.WF_LOCAL_SYNCH dependencies on WF_MAINTENANCE
12.1.1
-
APPS.WF_DIRECTORY dependencies on WF_MAINTENANCE
12.1.1
-
APPS.WF_DIRECTORY dependencies on WF_MAINTENANCE
12.2.2
-
APPS.WF_MAINTENANCE dependencies on WF_MAINTENANCE
12.1.1