Declare Trigger form - Completing the Triggers tab
Declare Trigger form - Completing the Triggers tab
Complete this tab to identify those database operations that activate this trigger rule.
Field | Description |
---|---|
Trigger When an Instance Is |
Select:
If you want processing to occur whether the instance is deleted or saved, create two Declare Trigger rules, one for each situation. |
...One of These Properties Was Modified... |
This area of the form appears only when you choose
Saved and...
for the previous field.
|
Property |
Optional. Enter a property reference. Identify a
Single Value ,
Value List
or
Page List
property that resides on
one of these pages:
The second and third options are acceptable only when the Page Context field is blank. For a reference to a property on the Applies To page, place a period before the property name.
Use a subscript to reference a scalar value of a
To detect changes in any portion of a
The activity referenced in the Activity Name field can examine a system-created
page named
|
Copy Value to (optional) |
Optional. Identify a property of the same mode and type as the property in the
Property field on this row. This property can retain the current value of the
changed property. Copying occurs only if the trigger activity runs, and after the
trigger activity completes.
Copying makes the previous property value available to the second and subsequent executions of this rule. |
Condition | |
When |
Optional. Select a when condition rule. When this field is not blank, the system
evaluates the when condition and performs the trigger operation only when the rule
evaluates to true.
At runtime, the system uses the Applies To key part of this Declare Trigger rule as the Applies To key part of the when condition rule. |
Trigger Activity | |
Name |
Identify the second key part — the Activity Name — of an activity to trigger when
any of the specified properties change. The system uses the Applies To key part of
this Declare Trigger rule as the Applies To key part of the activity.
Cick the Open icon to open the activity.
If
CAUTION: Although your application can contain more than Trigger
activities for one Applies To class, you cannot control the order that they run when
two or more are triggered. Create activities that provide correct results when run
in any order, and when run either independently or simultaneously.
|
Execute |
Select a value to determine how the activity runs:
|