Search Results wf_messages_pk
Overview
The WF_MESSAGES table, owned by the APPLSYS schema, is a core repository for message definitions within the Oracle Workflow engine of Oracle E-Business Suite (EBS) 12.1.1 and 12.2.2. As part of the Application Object Library (FND) module, it serves as the master definition table for all notification messages that can be generated and sent by workflow processes. These messages are the textual content delivered to users via notifications, forming a critical communication layer between automated business processes and human actors. The table's integrity is enforced by the primary key WF_MESSAGES_PK, and it is a central reference point for numerous other Workflow components.
Key Information Stored
The table's structure is designed to uniquely identify and categorize each message definition. Based on the provided metadata, the primary key consists of the TYPE and NAME columns. The TYPE column typically associates the message with a specific workflow item type, grouping related business process messages. The NAME column stores the unique identifier for the message within that type. While the ETRM excerpt does not list all columns, standard implementation includes columns for the message's display name, subject, body, priority, and default expiration details. The table's design ensures that a fully qualified message is identified by the combination of its item type and message name, which is a common pattern throughout the Oracle Workflow data model.
Common Use Cases and Queries
Primary use cases involve administrative reporting, auditing, and troubleshooting of workflow notifications. Developers and administrators query this table to understand available messages, verify message definitions, or diagnose issues where notifications appear incorrect or are not sent. A common query retrieves the definition for a specific notification observed by an end-user. For example, to find the base definition of a message associated with a particular notification ID in WF_NOTIFICATIONS:
- SELECT wm.* FROM apps.wf_messages wm, apps.wf_notifications wn WHERE wn.message_type = wm.type AND wn.message_name = wm.name AND wn.notification_id = <NOTIFICATION_ID>;
Another typical pattern is listing all messages defined for a particular item type to document a workflow's notification interface:
- SELECT name, display_name FROM apps.wf_messages WHERE type = '<ITEM_TYPE>' ORDER BY name;
Related Objects
As indicated by the foreign key relationships, WF_MESSAGES is a foundational table referenced extensively by the Workflow engine. Key related objects include:
- WF_MESSAGES_TL: The translated table that holds the language-specific subject and body text for each message defined in WF_MESSAGES.
- WF_ACTIVITIES: References messages that are sent as notifications from workflow activities.
- WF_NOTIFICATIONS: Each notification instance stores the MESSAGE_TYPE and MESSAGE_NAME that point back to its definition in WF_MESSAGES.
- WF_MESSAGE_ATTRIBUTES: Stores token attributes that can be embedded within the message text for dynamic content.
- WF_ROUTING_RULES: Rules for directing messages can be associated with specific message definitions.
- WF_ITEM_TYPES: The TYPE column in WF_MESSAGES is a foreign key to this table, defining the parent item type.
-
Table: WF_MESSAGES
12.1.1
owner:APPLSYS, object_type:TABLE, fnd_design_data:FND.WF_MESSAGES, object_name:WF_MESSAGES, status:VALID, product: FND - Application Object Library , description: Message definitions , implementation_dba_data: APPLSYS.WF_MESSAGES ,
-
Table: WF_MESSAGES
12.2.2
owner:APPLSYS, object_type:TABLE, fnd_design_data:FND.WF_MESSAGES, object_name:WF_MESSAGES, status:VALID, product: FND - Application Object Library , description: Message definitions , implementation_dba_data: APPLSYS.WF_MESSAGES ,