Search Results wf_local_roles
Overview
The WF_LOCAL_ROLES table is a core data object within the Oracle E-Business Suite (EBS) Application Object Library, owned by the APPLSYS schema. It serves as the central repository for all local roles defined within the Oracle Workflow security model. A local role represents a group of users or other roles, functioning as a principal for assigning workflow notifications, routing tasks, and enforcing access control within business processes. Its existence is fundamental to the operation of Oracle Workflow, enabling the abstraction of responsibility from individual users to logical groups, thereby providing flexibility and maintainability in process design and security administration.
Key Information Stored
The table's primary purpose is to store the definition and key attributes of each local role. As indicated by the primary key constraint WF_LOCAL_ROLES_PK on the column NAME, the role's unique identifier is its name. While the provided ETRM excerpt does not list all columns, based on standard Oracle Workflow implementation, this table typically contains critical columns such as:
- NAME: The unique internal name of the role (e.g., 'PO_BUYER_ROLE').
- DISPLAY_NAME: The user-friendly name presented in the Workflow notification web pages and administrative interfaces.
- DESCRIPTION: A textual description of the role's purpose.
- STATUS: Indicates whether the role is 'ACTIVE' or 'INACTIVE'.
- EXPIRATION_DATE: An optional date after which the role is no longer valid.
- EMAIL_ADDRESS: An optional email address associated with the role for notifications.
- NOTIFICATION_PREFERENCE: Defines how notifications are sent (e.g., MAILTEXT, MAILHTML, SUMMARY).
- LANGUAGE: The language for notifications sent to this role.
- TERRITORY: The territory setting for the role.
Common Use Cases and Queries
This table is primarily accessed for administrative reporting, auditing, and troubleshooting within the Workflow security framework. Common scenarios include identifying all active roles, finding roles assigned to specific users, or diagnosing notification routing issues. A fundamental query retrieves a list of all defined roles:
SELECT name, display_name, status, expiration_date FROM apps.wf_local_roles WHERE status = 'ACTIVE' ORDER BY name;
To investigate role membership, this table is joined with related objects like WF_USER_ROLES. For instance, to find all users directly assigned to a specific role:
SELECT wur.user_name FROM apps.wf_user_roles wur, apps.wf_local_roles wlr WHERE wlr.name = wur.role_name AND wlr.name = '&ROLE_NAME';
Administrators may also query this table to validate role configurations before deploying new workflow processes or to generate a master role inventory report.
Related Objects
The WF_LOCAL_ROLES table is integral to the Workflow security schema and has key relationships with several other APPLSYS objects. The WF_USER_ROLES table maps users and other roles as members of a local role. The WF_ROLE_HIERARCHIES table defines hierarchical relationships between roles. Key APIs that interact with this table include the PL/SQL package WF_DIRECTORY, which provides procedures for creating, updating, and querying roles (e.g., WF_DIRECTORY.CreateAdHocRole, WF_DIRECTORY.GetRoleInfo). Furthermore, role information from this table is often surfaced in workflow administration forms and the Notification Details web page (WFNOTH).
-
Table: WF_LOCAL_ROLES
12.1.1
owner:APPLSYS, object_type:TABLE, fnd_design_data:FND.WF_LOCAL_ROLES, object_name:WF_LOCAL_ROLES, status:VALID, product: FND - Application Object Library , description: Local Roles table , implementation_dba_data: APPLSYS.WF_LOCAL_ROLES ,
-
Table: WF_LOCAL_ROLES
12.2.2
owner:APPLSYS, object_type:TABLE, fnd_design_data:FND.WF_LOCAL_ROLES, object_name:WF_LOCAL_ROLES, status:VALID, product: FND - Application Object Library , description: Local Roles table , implementation_dba_data: APPLSYS.WF_LOCAL_ROLES ,
-
APPS.WF_MAINTENANCE dependencies on WF_LOCAL_ROLES
12.2.2
-
APPS.GL_WF_JE_APPROVAL_PKG dependencies on WF_LOCAL_ROLES
12.1.1
-
APPS.MSDNTF dependencies on WF_LOCAL_ROLES
12.1.1
-
APPS.AME_APPROVER_TYPE_PKG dependencies on WF_LOCAL_ROLES
12.1.1
-
APPS.UMX_LOGIN_HELP_PVT dependencies on WF_LOCAL_ROLES
12.1.1
-
APPS.MSC_X_REPLENISH dependencies on WF_LOCAL_ROLES
12.1.1
-
APPS.UMX_PASSWORD_PVT dependencies on WF_LOCAL_ROLES
12.1.1
-
APPS.WF_MAINTENANCE dependencies on WF_LOCAL_ROLES
12.1.1
-
APPS.WF_LOCAL_SYNCH dependencies on WF_LOCAL_ROLES
12.2.2
-
APPS.HXC_APPROVAL_HELPER dependencies on WF_LOCAL_ROLES
12.1.1
-
APPS.BIS_UTILITIES_PVT dependencies on WF_LOCAL_ROLES
12.1.1
-
APPS.JTF_UM_USERTYPE_CREDENTIALS dependencies on WF_LOCAL_ROLES
12.2.2
-
APPS.HR_WPM_MASS_SCORE_CARD_TRNSF dependencies on WF_LOCAL_ROLES
12.2.2
-
APPS.EGO_REPORT_WF_UTIL dependencies on WF_LOCAL_ROLES
12.2.2
-
APPS.HR_APPROVAL_SS dependencies on WF_LOCAL_ROLES
12.2.2
-
APPS.HR_WPM_MASS_APR_PUSH dependencies on WF_LOCAL_ROLES
12.2.2
-
APPS.PAY_GB_EPS dependencies on WF_LOCAL_ROLES
12.2.2
-
APPS.UMX_LOGIN_HELP_PVT dependencies on WF_LOCAL_ROLES
12.1.1
-
APPS.HZ_WF_SYNCH dependencies on WF_LOCAL_ROLES
12.1.1
-
APPS.UMX_LOGIN_HELP_PVT dependencies on WF_LOCAL_ROLES
12.2.2
-
APPS.AME_UTILITY_PKG dependencies on WF_LOCAL_ROLES
12.2.2
-
APPS.WF_ROLE_HIERARCHY dependencies on WF_LOCAL_ROLES
12.2.2
-
APPS.UMX_LOGIN_HELP_PVT dependencies on WF_LOCAL_ROLES
12.2.2
-
APPS.ENG_ECN_APPROVAL_LISTS_PKG dependencies on WF_LOCAL_ROLES
12.2.2
-
APPS.PER_PMP_MASS_NOTIFICATION dependencies on WF_LOCAL_ROLES
12.1.1
-
APPS.JTF_RS_CONC_WF_PUB dependencies on WF_LOCAL_ROLES
12.2.2
-
APPS.PON_FORMS_UTIL_PVT dependencies on WF_LOCAL_ROLES
12.2.2
-
APPS.MSD_NTF dependencies on WF_LOCAL_ROLES
12.1.1
-
APPS.MSD_NTF dependencies on WF_LOCAL_ROLES
12.2.2
-
APPS.HXC_APPROVAL_WF_PKG dependencies on WF_LOCAL_ROLES
12.2.2
-
APPS.ZPB_WF_NTF dependencies on WF_LOCAL_ROLES
12.1.1
-
APPS.WF_DIRECTORY dependencies on WF_LOCAL_ROLES
12.2.2
-
APPS.HZ_WF_SYNCH dependencies on WF_LOCAL_ROLES
12.2.2
-
APPS.IGS_SC_BULK_ASSIGN dependencies on WF_LOCAL_ROLES
12.1.1
-
APPS.HXC_NOTIFICATION_PROCESS_PKG dependencies on WF_LOCAL_ROLES
12.1.1
-
APPS.JTF_RS_CONC_WF_PUB dependencies on WF_LOCAL_ROLES
12.1.1
-
APPS.JTF_TASK_WF_UTIL dependencies on WF_LOCAL_ROLES
12.1.1
-
APPS.HXC_APPROVAL_WF_HELPER dependencies on WF_LOCAL_ROLES
12.1.1
-
APPS.FND_SECURITY_PKG dependencies on WF_LOCAL_ROLES
12.1.1
-
APPS.UMX_REGISTRATION_UTIL dependencies on WF_LOCAL_ROLES
12.2.2
-
APPS.HR_PERF_MGMT_PLAN_INTERNAL dependencies on WF_LOCAL_ROLES
12.2.2
-
APPS.ENG_WORKFLOW_API_PKG dependencies on WF_LOCAL_ROLES
12.2.2
-
APPS.AP_IAW_PKG dependencies on WF_LOCAL_ROLES
12.1.1
-
APPS.MSC_WS_NOTIFICATION_BPEL dependencies on WF_LOCAL_ROLES
12.1.1
-
APPS.UMX_REG_SERVICES_PKG dependencies on WF_LOCAL_ROLES
12.1.1
-
APPS.JTF_UM_WF_APPROVAL dependencies on WF_LOCAL_ROLES
12.1.1
-
APPS.MSC_X_CP_FLOW dependencies on WF_LOCAL_ROLES
12.2.2
-
APPS.PO_MASS_UPDATE_PO_PVT dependencies on WF_LOCAL_ROLES
12.2.2