Declare Trigger
form
|
Complete this tab to identify those database operations that cause Process Commander to 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
|
||||||||||
Property |
Optional. Enter a property
reference. Identify a
The second and third options are acceptable only when the Page Context field is blank. For a reference to a properties on the Applies To page, do not place a period before the property name. 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 rule. Click the pencil icon () to open the activity. If
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:
|