Search Results alr_action_set_outputs




Overview

The ALR_ACTION_SET_OUTPUTS table is a core data object within the Oracle E-Business Suite Alert module (ALR). It functions as the repository for defining and storing the specific output values or messages generated by an alert's action set. In the context of Oracle Alerts, an action set is a sequence of steps (like sending a message or running a concurrent program) executed when an alert's periodic query returns results. This table stores the discrete output elements, such as column values from the alert query or custom text, that are assembled into the final alert message or used as parameters for subsequent actions. Its role is critical for the runtime execution and personalization of alert notifications within the EBS workflow.

Key Information Stored

The table's structure is designed to uniquely associate output definitions with their parent alert and action set. The primary key columns, which also serve as foreign keys to related master tables, are APPLICATION_ID, ALERT_ID, and ACTION_SET_ID. These columns collectively identify the specific alert and action set to which an output belongs. The NAME column, also part of the primary key, stores the identifier for the specific output variable. While the provided ETRM excerpt does not list all columns, typical columns in this table would include those to store the output's sequence, data type, and the source of the value (e.g., a column from the alert's SELECT statement or a constant). This design ensures that multiple distinct outputs can be configured for a single action set.

Common Use Cases and Queries

The primary use case involves the administration and troubleshooting of Oracle Alerts. Administrators may query this table to audit or document the configuration of active alerts, particularly to understand what data is being disseminated. A common diagnostic query joins this table to ALR_ALERTS and ALR_ACTION_SETS to list all outputs for a specific alert, which is essential when debugging why an alert message contains incorrect or missing information. For example:
SELECT a.alert_name, aset.action_set_name, aso.name
FROM alr_action_set_outputs aso,
alr_alerts a,
alr_action_sets aset
WHERE aso.application_id = a.application_id
AND aso.alert_id = a.alert_id
AND aso.application_id = aset.application_id
AND aso.alert_id = aset.alert_id
AND aso.action_set_id = aset.action_set_id
AND a.alert_name = '&ALERT_NAME';

This pattern helps verify that the expected output variables are correctly defined and linked.

Related Objects

As documented in the foreign key relationships, ALR_ACTION_SET_OUTPUTS is a child table with strict dependencies on two key master tables in the Alert module:

  • ALR_ACTION_SETS: The relationship is defined on the composite key (APPLICATION_ID, ACTION_SET_ID). This links each output definition to its parent action set.
  • ALR_ALERTS: The relationship is defined on the composite key (APPLICATION_ID, ALERT_ID). This ensures every output ultimately belongs to a defined alert.

These relationships enforce referential integrity, meaning an output cannot exist without a corresponding alert and action set. The table is also intrinsically related to runtime tables like ALR_ACTION_HISTORY, which may log the actual values generated for these outputs during alert execution.