Search Results ams_trigger_checks
Overview
The AMS_TRIGGER_CHECKS table is a core data object within the Oracle E-Business Suite Marketing (AMS) module, specifically in versions 12.1.1 and 12.2.2. It functions as the central repository for defining conditional business rules, or "checks," that are evaluated by the system's automated triggering engine. Its primary role is to store the configuration for validations that must be executed when a scheduled date-time, as defined in the related AMS_TRIGGERS table, is reached. This mechanism is fundamental for automating time-based marketing campaign workflows, such as verifying that performance metrics meet specific thresholds before proceeding to a next campaign step or sending a notification.
Key Information Stored
The table's structure is designed to link a check to its parent trigger and to the specific metrics being evaluated. The primary key, TRIGGER_CHECK_ID, uniquely identifies each check rule. The most critical foreign key is TRIGGER_ID, which ties the check to its parent scheduling definition in the AMS_TRIGGERS table. The check logic itself is typically implemented by referencing marketing activity metrics via the columns CHK1_SOURCE_CODE_METRIC_ID and CHK2_SOURCE_CODE_METRIC_ID, which are foreign keys to the AMS_ACT_METRICS_ALL table. These columns store the identifiers for the metrics that will be compared (e.g., actual response rate versus a target rate). Additional columns, not fully detailed in the excerpt but implied by the table's purpose, would define the comparison operator (e.g., >, <, =) and the threshold values for the evaluation.
Common Use Cases and Queries
A primary use case is the automated governance of campaign execution. For instance, a trigger check could be configured to verify that a "Lead Generation" campaign has achieved a minimum number of qualified leads before a follow-up "Nurture" campaign is automatically launched. Common reporting and diagnostic queries involve joining this table with its related objects. To list all checks for a specific campaign trigger, a query would join AMS_TRIGGER_CHECKS to AMS_TRIGGERS. Troubleshooting a failed check would involve joining to AMS_ACT_METRICS_ALL to see the actual metric values and to AMS_TRIGGER_RESULTS to review the outcome.
- Listing all checks for a trigger:
SELECT * FROM AMS.AMS_TRIGGER_CHECKS WHERE TRIGGER_ID = <trigger_id>; - Finding details of checks and their results:
SELECT ck.*, res.RESULT_CODE FROM AMS.AMS_TRIGGER_CHECKS ck, AMS.AMS_TRIGGER_RESULTS res WHERE ck.TRIGGER_CHECK_ID = res.TRIGGER_RESULT_FOR_ID;
Related Objects
The AMS_TRIGGER_CHECKS table is integral to a small network of objects governing marketing triggers. Its most direct relationship is with the AMS_TRIGGERS table, which defines the when (the scheduled datetime) for the check execution. It references the AMS_ACT_METRICS_ALL table twice to obtain the metric values for its comparisons. Finally, the outcomes of the executed checks are stored in the AMS_TRIGGER_RESULTS table, which uses TRIGGER_CHECK_ID as a foreign key (TRIGGER_RESULT_FOR_ID). This design creates a clear data flow: Trigger (Schedule) -> Trigger Check (Rule) -> Trigger Result (Outcome).
-
Table: AMS_TRIGGER_CHECKS
12.1.1
owner:AMS, object_type:TABLE, fnd_design_data:AMS.AMS_TRIGGER_CHECKS, object_name:AMS_TRIGGER_CHECKS, status:VALID, product: AMS - Marketing , description: AMS_TRIGGER_CHECKS stores all checks that should be run when a datetime(specified in the AMS_TRIGGERS table) is reached. , implementation_dba_data: AMS.AMS_TRIGGER_CHECKS ,
-
Table: AMS_TRIGGER_CHECKS
12.2.2
owner:AMS, object_type:TABLE, fnd_design_data:AMS.AMS_TRIGGER_CHECKS, object_name:AMS_TRIGGER_CHECKS, status:VALID, product: AMS - Marketing , description: AMS_TRIGGER_CHECKS stores all checks that should be run when a datetime(specified in the AMS_TRIGGERS table) is reached. , implementation_dba_data: AMS.AMS_TRIGGER_CHECKS ,
-
APPS.AMS_CONTCAMPAIGN_PVT dependencies on AMS_TRIGGER_CHECKS
12.2.2
-
APPS.AMS_TRIG_PVT dependencies on AMS_TRIGGER_CHECKS
12.1.1
-
APPS.AMS_CONTCAMPAIGN_PVT dependencies on AMS_TRIGGER_CHECKS
12.1.1
-
APPS.AMS_WFTRIG_PVT dependencies on AMS_TRIGGER_CHECKS
12.1.1
-
APPS.AMS_THLDCHK_PVT dependencies on AMS_TRIGGER_CHECKS
12.1.1
-
APPS.AMS_TRIG_PVT dependencies on AMS_TRIGGER_CHECKS
12.2.2
-
APPS.AMS_WFTRIG_PVT dependencies on AMS_TRIGGER_CHECKS
12.2.2
-
APPS.AMS_THLDCHK_PVT dependencies on AMS_TRIGGER_CHECKS
12.2.2
-
SYNONYM: APPS.AMS_TRIGGER_CHECKS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AMS_TRIGGER_CHECKS, status:VALID,
-
SYNONYM: APPS.AMS_TRIGGER_CHECKS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AMS_TRIGGER_CHECKS, status:VALID,
-
APPS.AMS_THLDCHK_PVT SQL Statements
12.2.2
-
APPS.AMS_THLDCHK_PVT SQL Statements
12.1.1
-
APPS.AMS_TRIGGER_PVT dependencies on AMS_TRIGGER_ACTIONS
12.2.2
-
APPS.AMS_TRIGGER_PVT dependencies on AMS_TRIGGERS
12.2.2
-
Table: AMS_ACT_METRICS_ALL
12.2.2
owner:AMS, object_type:TABLE, fnd_design_data:AMS.AMS_ACT_METRICS_ALL, object_name:AMS_ACT_METRICS_ALL, status:VALID, product: AMS - Marketing , description: This table stores the value for a metrics being tracked against a marketing entity e.g. the current value for metrics 'ROI' for a specific marketing campaign. , implementation_dba_data: AMS.AMS_ACT_METRICS_ALL ,
-
APPS.AMS_TRIGGER_PVT dependencies on AMS_TRIGGERS
12.1.1
-
APPS.AMS_TRIGGER_PVT dependencies on AMS_TRIGGER_ACTIONS
12.1.1
-
VIEW: AMS.AMS_TRIGGER_CHECKS#
12.2.2
owner:AMS, object_type:VIEW, object_name:AMS_TRIGGER_CHECKS#, status:VALID,
-
VIEW: AMS.AMS_TRIGGER_CHECKS#
12.2.2
-
APPS.AMS_THLDCHK_PVT dependencies on FND_GLOBAL
12.1.1
-
PACKAGE: APPS.AMS_THLDCHK_PVT
12.1.1
-
Table: AMS_ACT_METRICS_ALL
12.1.1
owner:AMS, object_type:TABLE, fnd_design_data:AMS.AMS_ACT_METRICS_ALL, object_name:AMS_ACT_METRICS_ALL, status:VALID, product: AMS - Marketing , description: This table stores the value for a metrics being tracked against a marketing entity e.g. the current value for metrics 'ROI' for a specific marketing campaign. , implementation_dba_data: AMS.AMS_ACT_METRICS_ALL ,
-
APPS.AMS_THLDCHK_PVT dependencies on FND_GLOBAL
12.2.2
-
PACKAGE: APPS.AMS_THLDCHK_PVT
12.2.2
-
VIEW: APPS.AMS_TRIGGERS_V
12.2.2
-
APPS.AMS_THLDCHK_PVT dependencies on DUAL
12.2.2
-
VIEW: APPS.AMS_TRIGGERS_V
12.1.1
-
APPS.AMS_TRIG_PVT dependencies on AMS_TRIGGER_ACTIONS
12.1.1
-
APPS.AMS_THLDCHK_PVT dependencies on DUAL
12.1.1
-
APPS.AMS_TRIG_PVT dependencies on AMS_TRIGGER_ACTIONS
12.2.2
-
Table: AMS_TRIGGERS
12.2.2
owner:AMS, object_type:TABLE, fnd_design_data:AMS.AMS_TRIGGERS, object_name:AMS_TRIGGERS, status:VALID, product: AMS - Marketing , description: AMS_TRIGGERS stores Triggers to start execution of certain Activity at a certain time. , implementation_dba_data: AMS.AMS_TRIGGERS ,
-
Table: AMS_TRIGGER_RESULTS
12.1.1
owner:AMS, object_type:TABLE, fnd_design_data:AMS.AMS_TRIGGER_RESULTS, object_name:AMS_TRIGGER_RESULTS, status:VALID, product: AMS - Marketing , description: Stores the results after a threshold check or action has been run. , implementation_dba_data: AMS.AMS_TRIGGER_RESULTS ,
-
Table: AMS_TRIGGER_RESULTS
12.2.2
owner:AMS, object_type:TABLE, fnd_design_data:AMS.AMS_TRIGGER_RESULTS, object_name:AMS_TRIGGER_RESULTS, status:VALID, product: AMS - Marketing , description: Stores the results after a threshold check or action has been run. , implementation_dba_data: AMS.AMS_TRIGGER_RESULTS ,
-
PACKAGE: APPS.AMS_TRIGGER_PVT
12.1.1
-
PACKAGE: APPS.AMS_TRIGGER_PVT
12.2.2
-
Table: AMS_TRIGGERS
12.1.1
owner:AMS, object_type:TABLE, fnd_design_data:AMS.AMS_TRIGGERS, object_name:AMS_TRIGGERS, status:VALID, product: AMS - Marketing , description: AMS_TRIGGERS stores Triggers to start execution of certain Activity at a certain time. , implementation_dba_data: AMS.AMS_TRIGGERS ,
-
PACKAGE BODY: APPS.AMS_THLDCHK_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_THLDCHK_PVT, status:VALID,
-
PACKAGE BODY: APPS.AMS_THLDCHK_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_THLDCHK_PVT, status:VALID,
-
PACKAGE BODY: APPS.AMS_TRIG_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_TRIG_PVT, status:VALID,
-
PACKAGE BODY: APPS.AMS_TRIG_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_TRIG_PVT, status:VALID,
-
PACKAGE BODY: APPS.AMS_WFTRIG_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_WFTRIG_PVT, status:VALID,
-
PACKAGE BODY: APPS.AMS_WFTRIG_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_WFTRIG_PVT, status:VALID,
-
PACKAGE BODY: APPS.AMS_CONTCAMPAIGN_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_CONTCAMPAIGN_PVT, status:VALID,
-
PACKAGE BODY: APPS.AMS_CONTCAMPAIGN_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_CONTCAMPAIGN_PVT, status:VALID,
-
TABLE: AMS.AMS_TRIGGER_CHECKS
12.1.1
owner:AMS, object_type:TABLE, fnd_design_data:AMS.AMS_TRIGGER_CHECKS, object_name:AMS_TRIGGER_CHECKS, status:VALID,
-
TABLE: AMS.AMS_TRIGGER_CHECKS
12.2.2
owner:AMS, object_type:TABLE, fnd_design_data:AMS.AMS_TRIGGER_CHECKS, object_name:AMS_TRIGGER_CHECKS, status:VALID,
-
View: AMS_TRIGGERS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_TRIGGERS_V, object_name:AMS_TRIGGERS_V, status:VALID, product: AMS - Marketing , description: This view returns all the Trigger details and the checks and Actions associated with it. , implementation_dba_data: APPS.AMS_TRIGGERS_V ,
-
PACKAGE BODY: APPS.AMS_THLDCHK_PVT
12.2.2