Adding a Rule Using the Rule Wizard

In addition to adding new rules through the Outline view, you can also create a computation rule (a rule with a computation action) directly from property you want to create a computation rule for.

Procedure

  1. Click the Add a binding or rule button next to a property, such as for the Value property of the Name control.
  2. In the Select Type dialog, select the Update this property using a Computation Action radio button.
  3. Click Next.

    In the Provide Expression dialog, provide the script. In this case, there is no option to select the destination, since the destination is implicit on where you are adding the computation action.

  4. Click Next.

    In the Events Configuration dialog, use the Add button to add events or the Delete button to remove events associated with the rule.

  5. Click the Add button.

    The Event Picker, which is used to select the events that trigger a rule, opens with a dialog Select Item.

  6. Click the event you want to associate with the rule.
  7. Click OK to confirm the selection.

    You can add multiple events to associate with the rule. You can also delete any of the previously selected events from the list.

  8. Click Finish when you are done configuring the rule.

    A rule icon appears next to the property, and allows easy editing of the compute action. Additionally, the rule appears in the Outline view and can be edited as a regular rule.