Defining actions for an ECA rule

Before you begin

Before you add actions to an ECA rule, you must add at least one event and a condition to the ECA rule. For information on how to add events to an ECA rule, see Adding events to an ECA rule. For information on how to configure conditions for an ECA rule, see Configuring conditions for an ECA rule.

About this task

The action part of an ECA rule is the action that is invoked on a widget after the conditions part of an ECA rule has been evaluated. In the WebSphere® Multichannel Bank Transformation Toolkit ECA editor, you can configure actions for situations in which the condition evaluates to true, and you can configure actions for situations in which the condition evaluates to false. The steps that are required to configure an action whether the condition is true and the condition is false are the same.

Procedure

  1. In the Actions panel of the Rules tab of the Properties view, click the Add icon.
    The "Please select a value" window is opened.
  2. In the drop-down list in the "Please select a value" window, select either Invoke Widget Function or Set Widget Property depending on the action that you want to be invoked.
    • If you select Invoke Widget Function, select a widget in the Invoke Widget Function panel, and then select a function in the right panel. Click OK.
    • If you select Set Widget Property, select a widget in the Set Widget Property panel, and then select a widget property in the right panel. Click the Browse
      icon of the Set Property Value field to configure a value for the property. Click OK.