To execute actions depending upon current conditions, you would add a Decision Branch action to your event. A decision branch action consists of at least one rule, and one condition test. If the condition test meets the rule, the branch evaluates to "true," and the event executes the action(s) added under the Decision Branch node in the Event Steps tree before continuing on to execute subsequent actions in the event. If the condition evaluates to "false," the event skips the Decision Branch node sub-actions, and continues by executing subsequent actions in the event.
Name (optional): Identifies the current decision branch in the Event Steps tree.
Add Rule button: Displays a dialog box from which you can specify the expression type. This statement must evaluate to true for the event to process the sub-actions of the Decision Branch node. For example, in the statement, "When all are true," the "all" means all of the condition tests added to the expression. Options include:
Add Tests button: Displays a dialog box from which you can build condition tests. To evaluate a condition, you build a test that compares two operands. The operands can be fields on a host screen, constants you define, values of controls on a form basically, any of the data elements currently available to your application.
Edit button: Depending on whether you have a rule (expression type) or test (condition test expression) selected, opens the Edit Rule/Test dialog box, from which you can edit it.
Expression: Displays a tree that presents your rules and tests as an expression.
|Adding Decision Branches to Events|
|Action Descriptions: Decision Branch|
|Presentation Designer Help Links|